├── .gitignore ├── .npmignore ├── LICENSE ├── README.md ├── bower.json ├── cloudinary-jquery-file-upload.js ├── cloudinary-jquery-file-upload.js.map ├── cloudinary-jquery-file-upload.min.js ├── cloudinary-jquery-file-upload.min.js.map ├── docs ├── ClientHintsMetaTag.html ├── Cloudinary.html ├── CloudinaryJQuery.html ├── Condition.html ├── Configuration.html ├── Expression.html ├── FetchLayer.html ├── HtmlTag.html ├── ImageTag.html ├── Layer.html ├── SourceTag.html ├── SubtitlesLayer.html ├── TextLayer.html ├── Transformation.html ├── TransformationBase.html ├── VideoTag.html ├── classes.list.html ├── global.html ├── img │ ├── glyphicons-halflings-white.png │ └── glyphicons-halflings.png ├── index.html ├── jQuery.html ├── module-utils-Util.html ├── scripts │ ├── URI.js │ ├── bootstrap-dropdown.js │ ├── bootstrap-tab.js │ ├── docstrap.lib.js │ ├── prettify │ │ ├── Apache-License-2.0.txt │ │ ├── jquery.min.js │ │ ├── lang-css.js │ │ └── prettify.js │ ├── sunlight.js │ └── toc.js └── styles │ ├── darkstrap.css │ ├── prettify-tomorrow.css │ ├── site.cerulean.css │ ├── site.cosmo.css │ ├── site.cyborg.css │ ├── site.darkly.css │ ├── site.darkstrap.css │ ├── site.dibs-bootstrap.css │ ├── site.flatly.css │ ├── site.journal.css │ ├── site.lumen.css │ ├── site.paper.css │ ├── site.readable.css │ ├── site.sandstone.css │ ├── site.simplex.css │ ├── site.slate.css │ ├── site.spacelab.css │ ├── site.superhero.css │ ├── site.united.css │ ├── site.yeti.css │ ├── sunlight.dark.css │ └── sunlight.default.css └── package.json /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | 5 | # Runtime data 6 | pids 7 | *.pid 8 | *.seed 9 | 10 | # Directory for instrumented libs generated by jscoverage/JSCover 11 | lib-cov 12 | 13 | # Coverage directory used by tools like istanbul 14 | coverage 15 | 16 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) 17 | .grunt 18 | 19 | # node-waf configuration 20 | .lock-wscript 21 | 22 | # Compiled binary addons (http://nodejs.org/api/addons.html) 23 | build/Release 24 | 25 | # Dependency directory 26 | # https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git 27 | node_modules 28 | bower_components 29 | # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm 30 | *.iml 31 | 32 | ## Directory-based project format: 33 | .idea/ 34 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | 5 | # Runtime data 6 | pids 7 | *.pid 8 | *.seed 9 | 10 | # Directory for instrumented libs generated by jscoverage/JSCover 11 | lib-cov 12 | 13 | # Coverage directory used by tools like istanbul 14 | coverage 15 | 16 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) 17 | .grunt 18 | 19 | # node-waf configuration 20 | .lock-wscript 21 | 22 | # Compiled binary addons (http://nodejs.org/api/addons.html) 23 | build/Release 24 | 25 | # Dependency directory 26 | # https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git 27 | node_modules 28 | bower_components 29 | # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm 30 | *.iml 31 | 32 | ## Directory-based project format: 33 | .idea/ 34 | samples/ 35 | docs/ 36 | 37 | *.tgz 38 | *.html 39 | 40 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 cloudinary 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | [![Build Status](https://travis-ci.org/cloudinary/cloudinary_js.svg?branch=master)](https://travis-ci.org/cloudinary/cloudinary_js) [![npm](https://img.shields.io/npm/v/cloudinary-jquery-file-upload.svg?maxAge=2592000)]() [![Bower](https://img.shields.io/bower/v/cloudinary-jquery-file-upload.svg?maxAge=2592000)]() [![license](https://img.shields.io/github/license/cloudinary/pkg-cloudinary-jquery-file-upload.svg?maxAge=2592000)]() 2 | 3 | This was a distribution repository for cloudinary-jquery-file-upload. The sources for this repository are maintained at the [cloudinary_js repository](https://github.com/cloudinary/cloudinary_js). Please submit issues and pull requests to that repository. 4 | 5 | 6 | ## Installation and Usage 7 | 8 | See here: https://github.com/cloudinary/cloudinary_js/tree/master/pkg/cloudinary-jquery-file-upload 9 | 10 | ## Additional resources 11 | 12 | Additional resources are available at: 13 | 14 | * [Website](http://cloudinary.com) 15 | * [Documentation](http://cloudinary.com/documentation) 16 | * [Knowledge Base](http://support.cloudinary.com/forums) 17 | * [Documentation for jQuery integration](http://cloudinary.com/documentation/jquery_integration) 18 | * [jQuery image upload documentation](http://cloudinary.com/documentation/jquery_image_upload) 19 | * [jQuery image manipulation documentation](http://cloudinary.com/documentation/jquery_image_manipulation) 20 | * [Image transformations documentation](http://cloudinary.com/documentation/image_transformations) 21 | 22 | ## Support 23 | 24 | You can [open an issue through GitHub](https://github.com/cloudinary/cloudinary_js/issues). 25 | 26 | Contact us at [http://cloudinary.com/contact](http://cloudinary.com/contact). 27 | 28 | Stay tuned for updates, tips and tutorials: [Blog](http://cloudinary.com/blog), [Twitter](https://twitter.com/cloudinary), [Facebook](http://www.facebook.com/Cloudinary). 29 | 30 | 31 | ## License 32 | 33 | Released under the MIT license. 34 | -------------------------------------------------------------------------------- /bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cloudinary-jquery-file-upload", 3 | "version": "2.5.0", 4 | "homepage": "http://cloudinary.com", 5 | "authors": [ 6 | { 7 | "name": "Cloudinary", 8 | "email": "info@cloudinary.com", 9 | "homepage": "http://cloudinary.com" 10 | } 11 | ], 12 | "description": "Official Cloudinary JS library with jQuery File Upload support. Cloudinary is an end-to-end solution for all your image and video needs.", 13 | "main": "cloudinary-jquery-file-upload.js", 14 | "moduleType": [ 15 | "amd", 16 | "globals", 17 | "node" 18 | ], 19 | "repository": { 20 | "type": "git", 21 | "url": "git://github.com/cloudinary/pkg-cloudinary-jquery-file-upload.git" 22 | }, 23 | "dependencies": { 24 | "jquery": ">=1.6", 25 | "blueimp-file-upload": ">=7.2.1" 26 | }, 27 | "keywords": [ 28 | "blueimp", 29 | "CDN", 30 | "cloud", 31 | "cloudinary", 32 | "convert", 33 | "conversion", 34 | "effects", 35 | "files", 36 | "images", 37 | "jquery", 38 | "manipulation", 39 | "multiple", 40 | "performance", 41 | "picture", 42 | "pictures", 43 | "preview", 44 | "progress", 45 | "responsive", 46 | "storage", 47 | "thumbnail", 48 | "thumbnails", 49 | "transformations", 50 | "uploads", 51 | "videos", 52 | "widgets" 53 | ], 54 | "license": "MIT", 55 | "ignore": [ 56 | "**/.*", 57 | "node_modules", 58 | "bower_components", 59 | "samples/", 60 | "test", 61 | "tests", 62 | "docs/" 63 | ] 64 | } 65 | -------------------------------------------------------------------------------- /docs/ClientHintsMetaTag.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Cloudinary JavaScript Library Class: ClientHintsMetaTag 7 | 8 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 46 | 47 | 48 |
49 |
50 | 51 | 52 |
53 | 54 |
55 | 56 | 57 | 58 |

Class: ClientHintsMetaTag

59 |
60 | 61 |
62 | 63 |

64 | ClientHintsMetaTag 65 |

66 | 67 | 68 |
69 | 70 | 71 |
72 |
73 | 74 | 75 |
76 |
77 |

new ClientHintsMetaTag()

78 | 79 | 80 |
81 |
82 | 83 | 84 |
85 |

Creates an HTML (DOM) Meta tag that enables client-hints.

86 |
87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 |
98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 |
134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 |
150 | 151 | 152 |
153 | 154 | 155 |

Extends

156 | 157 | 158 | 159 | 160 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 |
183 | 184 |
185 | 186 | 187 | 188 | 189 |
190 |
191 | 192 |
193 | 194 | 195 |
196 |
197 |
198 | 199 | 200 |
201 |
202 | 203 | 204 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 293 | 294 | 295 | 296 | 297 | 298 | 299 | 300 | 301 | 302 | 303 | -------------------------------------------------------------------------------- /docs/Condition.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Cloudinary JavaScript Library Class: Condition 7 | 8 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 46 | 47 | 48 |
49 |
50 | 51 | 52 |
53 | 54 |
55 | 56 | 57 | 58 |

Class: Condition

59 |
60 | 61 |
62 | 63 |

64 | Condition 65 |

66 | 67 | 68 |
69 | 70 | 71 |
72 |
73 | 74 | 75 |
76 |
77 |

new Condition(conditionStr)

78 | 79 | 80 |
81 |
82 | 83 | 84 |
85 |

Represents a transformation condition

86 |
87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 |
Parameters:
96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 |
NameTypeDescription
conditionStr 124 | 125 | 126 | string 127 | 128 | 129 | 130 | 131 |

a condition in string format

143 | 144 | 145 | 146 | 147 |
148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 |
184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 |
Example
200 | 201 |
// normally this class is not instantiated directly
202 | var tr = cloudinary.Transformation.new()
203 |    .if().width( ">", 1000).and().aspectRatio("<", "3:4").then()
204 |      .width(1000)
205 |      .crop("scale")
206 |    .else()
207 |      .width(500)
208 |      .crop("scale")
209 | 
210 | var tr = cloudinary.Transformation.new()
211 |    .if("w > 1000 and aspectRatio < 3:4")
212 |      .width(1000)
213 |      .crop("scale")
214 |    .else()
215 |      .width(500)
216 |      .crop("scale")
217 | 218 | 219 | 220 |
221 | 222 | 223 |
224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 |

Methods

239 | 240 |
241 | 242 |
243 |
244 |

#height(operator, value)

245 | 246 | 247 |
248 |
249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 |
Parameters:
259 | 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 | 271 | 272 | 273 | 274 | 275 | 276 | 277 | 278 | 279 | 280 | 281 | 282 | 283 | 284 | 285 | 286 | 295 | 296 | 297 | 298 | 299 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 309 | 310 | 322 | 323 | 324 | 325 | 326 | 327 | 328 | 329 | 330 | 331 | 332 |
NameTypeDescription
operator 287 | 288 | 289 | string 290 | 291 | 292 | 293 | 294 |

the comparison operator (e.g. "<", "lt")

value 311 | 312 | 313 | string 314 | | 315 | 316 | number 317 | 318 | 319 | 320 | 321 |

the right hand side value

333 | 334 | 335 | 336 | 337 |
338 | 339 | 340 | 341 | 342 | 343 | 344 | 345 | 346 | 347 | 348 | 349 | 350 | 351 | 352 | 353 | 354 | 355 | 356 | 357 | 358 | 359 | 360 | 361 | 362 | 363 | 364 | 365 | 366 | 367 | 368 | 369 | 370 | 371 | 372 | 373 |
374 | 375 | 376 | 377 | 378 | 379 | 380 | 381 | 382 | 383 | 384 | 385 | 386 | 387 | 388 |
Returns: 389 | Condition 390 | 391 | 392 |
393 | 394 |
395 |

this condition

396 |
397 | 398 | 399 |
400 |
401 | Type 402 |
403 |
404 | 405 | Condition 406 | 407 | 408 | 409 |
410 |
411 | 412 | 413 | 414 | 415 | 416 |
417 | 418 |
419 | 420 | 421 | 422 | 423 | 424 |
425 | 426 |
427 | 428 | 429 | 430 | 431 |
432 |
433 | 434 |
435 | 436 | 437 |
438 |
439 |
440 | 441 | 442 |
443 |
444 | 445 | 446 | 458 | 459 | 460 | 461 | 462 | 463 | 464 | 535 | 536 | 537 | 538 | 539 | 540 | 541 | 542 | 543 | 544 | 545 | -------------------------------------------------------------------------------- /docs/Configuration.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Cloudinary JavaScript Library Class: Configuration 7 | 8 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 46 | 47 | 48 |
49 |
50 | 51 | 52 |
53 | 54 |
55 | 56 | 57 | 58 |

Class: Configuration

59 |
60 | 61 |
62 | 63 |

64 | Configuration 65 |

66 | 67 | 68 |
69 | 70 | 71 |
72 |
73 | 74 | 75 |
76 |
77 |

new Configuration(options)

78 | 79 | 80 |
81 |
82 | 83 | 84 |
85 |

Cloudinary configuration class

86 |
87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 |
Parameters:
96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 |
NameTypeDescription
options 124 | 125 | 126 | Object 127 | 128 | 129 | 130 | 131 |

configuration parameters

143 | 144 | 145 | 146 | 147 |
148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 |
184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 |
200 | 201 | 202 |
203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 |

Methods

218 | 219 |
220 | 221 |
222 |
223 |

#init()

224 | 225 | 226 |
227 |
228 | 229 | 230 |
231 |

Initialize the configuration. 232 | The function first tries to retrieve the configuration form the environment and then from the document.

233 |
234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 |
245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | 259 | 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 | 271 | 272 | 273 | 274 | 275 | 276 | 277 | 278 |
See:
279 |
280 |
    281 |
  • fromDocument
  • 282 | 283 |
  • fromEnvironment
  • 284 |
285 |
286 | 287 | 288 | 289 |
290 | 291 | 292 | 293 | 294 | 295 | 296 | 297 | 298 | 299 | 300 | 301 | 302 | 303 | 304 |
Returns: 305 | Configuration 306 | 307 | 308 |
309 | 310 |
311 |

returns this for chaining

312 |
313 | 314 | 315 |
316 |
317 | Type 318 |
319 |
320 | 321 | Configuration 322 | 323 | 324 | 325 |
326 |
327 | 328 | 329 | 330 | 331 | 332 |
333 | 334 |
335 | 336 | 337 | 338 | 339 | 340 |
341 | 342 |
343 | 344 | 345 | 346 | 347 |
348 |
349 | 350 |
351 | 352 | 353 |
354 |
355 |
356 | 357 | 358 |
359 |
360 | 361 | 362 | 374 | 375 | 376 | 377 | 378 | 379 | 380 | 451 | 452 | 453 | 454 | 455 | 456 | 457 | 458 | 459 | 460 | 461 | -------------------------------------------------------------------------------- /docs/Expression.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Cloudinary JavaScript Library Class: Expression 7 | 8 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 46 | 47 | 48 |
49 |
50 | 51 | 52 |
53 | 54 |
55 | 56 | 57 | 58 |

Class: Expression

59 |
60 | 61 |
62 | 63 |

64 | Expression 65 |

66 | 67 | 68 |
69 | 70 | 71 |
72 |
73 | 74 | 75 |
76 |
77 |

new Expression(expressionStr)

78 | 79 | 80 |
81 |
82 | 83 | 84 |
85 |

Represents a transformation expression

86 |
87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 |
Parameters:
96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 |
NameTypeDescription
expressionStr 124 | 125 | 126 | string 127 | 128 | 129 | 130 | 131 |

a expression in string format

143 | 144 | 145 | 146 | 147 |
148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 |
184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 |
200 | 201 | 202 |
203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 |

Methods

218 | 219 |
220 | 221 |
222 |
223 |

.new()

224 | 225 | 226 |
227 |
228 | 229 | 230 |
231 |

Convenience constructor method

232 |
233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 |
244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | 259 | 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 | 271 | 272 | 273 | 274 | 275 | 276 | 277 | 278 | 279 |
280 | 281 | 282 | 283 | 284 | 285 | 286 | 287 | 288 | 289 | 290 | 291 | 292 | 293 | 294 | 295 |
296 | 297 |
298 | 299 | 300 | 301 | 302 | 303 |
304 | 305 |
306 | 307 | 308 | 309 | 310 |
311 |
312 | 313 |
314 | 315 | 316 |
317 |
318 |
319 | 320 | 321 |
322 |
323 | 324 | 325 | 337 | 338 | 339 | 340 | 341 | 342 | 343 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | -------------------------------------------------------------------------------- /docs/FetchLayer.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Cloudinary JavaScript Library Class: FetchLayer 7 | 8 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 46 | 47 | 48 |
49 |
50 | 51 | 52 |
53 | 54 |
55 | 56 | 57 | 58 |

Class: FetchLayer

59 |
60 | 61 |
62 | 63 |

64 | FetchLayer 65 |

66 | 67 | 68 |
69 | 70 | 71 |
72 |
73 | 74 | 75 |
76 |
77 |

new FetchLayer(options)

78 | 79 | 80 |
81 |
82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 |
Parameters:
92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 131 | 132 | 133 | 134 | 135 | 136 | 187 | 188 | 189 | 190 | 191 |
NameTypeDescription
options 120 | 121 | 122 | Object 123 | | 124 | 125 | string 126 | 127 | 128 | 129 | 130 |

layer parameters or a url

137 |
Properties
138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 |
NameTypeDescription
url 166 | 167 | 168 | string 169 | 170 | 171 | 172 | 173 |

the url of the image to fetch

185 | 186 |
192 | 193 | 194 | 195 | 196 |
197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 |
233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 |
249 | 250 | 251 |
252 | 253 | 254 | 255 | 256 | 257 | 258 | 259 | 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 |
271 | 272 |
273 | 274 | 275 | 276 | 277 |
278 |
279 | 280 |
281 | 282 | 283 |
284 |
285 |
286 | 287 | 288 |
289 |
290 | 291 | 292 | 304 | 305 | 306 | 307 | 308 | 309 | 310 | 381 | 382 | 383 | 384 | 385 | 386 | 387 | 388 | 389 | 390 | 391 | -------------------------------------------------------------------------------- /docs/HtmlTag.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Cloudinary JavaScript Library Class: HtmlTag 7 | 8 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 46 | 47 | 48 |
49 |
50 | 51 | 52 |
53 | 54 |
55 | 56 | 57 | 58 |

Class: HtmlTag

59 |
60 | 61 |
62 | 63 |

64 | HtmlTag 65 |

66 | 67 | 68 |
69 | 70 | 71 |
72 |
73 | 74 | 75 |
76 |
77 |

new HtmlTag(name, publicId, options)

78 | 79 | 80 |
81 |
82 | 83 | 84 |
85 |

Represents an HTML (DOM) tag

86 |
87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 |
Parameters:
96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 134 | 135 | 136 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 166 | 167 | 168 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 200 | 201 | 202 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 |
NameTypeArgumentDescription
name 126 | 127 | 128 | string 129 | 130 | 131 | 132 | 133 | 137 | 138 | 139 | 140 | 141 | 142 |

the name of the tag

publicId 158 | 159 | 160 | string 161 | 162 | 163 | 164 | 165 | 169 | 170 | <optional>
171 | 172 | 173 | 174 | 175 | 176 |
options 192 | 193 | 194 | Object 195 | 196 | 197 | 198 | 199 | 203 | 204 | 205 | 206 | 207 | 208 |
219 | 220 | 221 | 222 | 223 |
224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | 259 |
260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 | 271 | 272 | 273 | 274 | 275 |
Example
276 | 277 |
tag = new HtmlTag( 'div', { 'width': 10})
278 | 279 | 280 | 281 |
282 | 283 | 284 |
285 | 286 | 287 | 288 | 289 | 290 | 291 | 292 | 293 | 294 | 295 | 296 | 297 | 298 | 299 |

Methods

300 | 301 |
302 | 303 |
304 |
305 |

.new(name, publicId, options)

306 | 307 | 308 |
309 |
310 | 311 | 312 |
313 |

Convenience constructor 314 | Creates a new instance of an HTML (DOM) tag

315 |
316 | 317 | 318 | 319 | 320 | 321 | 322 | 323 | 324 |
Parameters:
325 | 326 | 327 | 328 | 329 | 330 | 331 | 332 | 333 | 334 | 335 | 336 | 337 | 338 | 339 | 340 | 341 | 342 | 343 | 344 | 345 | 346 | 347 | 348 | 349 | 350 | 351 | 352 | 353 | 354 | 363 | 364 | 365 | 372 | 373 | 374 | 375 | 376 | 377 | 378 | 379 | 380 | 381 | 382 | 383 | 384 | 385 | 386 | 395 | 396 | 397 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 429 | 430 | 431 | 438 | 439 | 440 | 441 | 442 | 443 | 444 | 445 | 446 | 447 |
NameTypeArgumentDescription
name 355 | 356 | 357 | string 358 | 359 | 360 | 361 | 362 | 366 | 367 | 368 | 369 | 370 | 371 |

the name of the tag

publicId 387 | 388 | 389 | string 390 | 391 | 392 | 393 | 394 | 398 | 399 | <optional>
400 | 401 | 402 | 403 | 404 | 405 |
options 421 | 422 | 423 | Object 424 | 425 | 426 | 427 | 428 | 432 | 433 | 434 | 435 | 436 | 437 |
448 | 449 | 450 | 451 | 452 |
453 | 454 | 455 | 456 | 457 | 458 | 459 | 460 | 461 | 462 | 463 | 464 | 465 | 466 | 467 | 468 | 469 | 470 | 471 | 472 | 473 | 474 | 475 | 476 | 477 | 478 | 479 | 480 | 481 | 482 | 483 | 484 | 485 | 486 | 487 | 488 |
489 | 490 | 491 | 492 | 493 | 494 | 495 | 496 | 497 | 498 | 499 | 500 | 501 | 502 | 503 |
Returns: 504 | HtmlTag 505 | 506 | 507 |
508 | 509 | 510 | 511 | 512 |
513 |
514 | Type 515 |
516 |
517 | 518 | HtmlTag 519 | 520 | 521 | 522 |
523 |
524 | 525 | 526 | 527 | 528 | 529 |
Example
530 | 531 |
tag = HtmlTag.new( 'div', { 'width': 10})
532 | 533 | 534 | 535 |
536 | 537 |
538 | 539 | 540 | 541 | 542 | 543 |
544 | 545 |
546 | 547 | 548 | 549 | 550 |
551 |
552 | 553 |
554 | 555 | 556 |
557 |
558 |
559 | 560 | 561 |
562 |
563 | 564 | 565 | 577 | 578 | 579 | 580 | 581 | 582 | 583 | 654 | 655 | 656 | 657 | 658 | 659 | 660 | 661 | 662 | 663 | 664 | -------------------------------------------------------------------------------- /docs/ImageTag.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Cloudinary JavaScript Library Class: ImageTag 7 | 8 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 46 | 47 | 48 |
49 |
50 | 51 | 52 |
53 | 54 |
55 | 56 | 57 | 58 |

Class: ImageTag

59 |
60 | 61 |
62 | 63 |

64 | ImageTag 65 |

66 | 67 | 68 |
69 | 70 | 71 |
72 |
73 | 74 | 75 |
76 |
77 |

new ImageTag(publicId, options)

78 | 79 | 80 |
81 |
82 | 83 | 84 |
85 |

Creates an HTML (DOM) Image tag using Cloudinary as the source.

86 |
87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 |
Parameters:
96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 134 | 135 | 136 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 168 | 169 | 170 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 |
NameTypeArgumentDescription
publicId 126 | 127 | 128 | string 129 | 130 | 131 | 132 | 133 | 137 | 138 | <optional>
139 | 140 | 141 | 142 | 143 | 144 |
options 160 | 161 | 162 | Object 163 | 164 | 165 | 166 | 167 | 171 | 172 | <optional>
173 | 174 | 175 | 176 | 177 | 178 |
189 | 190 | 191 | 192 | 193 |
194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 |
230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 |
246 | 247 | 248 |
249 | 250 | 251 |

Extends

252 | 253 | 254 | 255 | 256 | 259 | 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 | 271 | 272 | 273 | 274 | 275 | 276 | 277 | 278 |
279 | 280 |
281 | 282 | 283 | 284 | 285 |
286 |
287 | 288 |
289 | 290 | 291 |
292 |
293 |
294 | 295 | 296 |
297 |
298 | 299 | 300 | 312 | 313 | 314 | 315 | 316 | 317 | 318 | 389 | 390 | 391 | 392 | 393 | 394 | 395 | 396 | 397 | 398 | 399 | -------------------------------------------------------------------------------- /docs/Layer.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Cloudinary JavaScript Library Class: Layer 7 | 8 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 46 | 47 | 48 |
49 |
50 | 51 | 52 |
53 | 54 |
55 | 56 | 57 | 58 |

Class: Layer

59 |
60 | 61 |
62 | 63 |

64 | Layer 65 |

66 | 67 | 68 |
69 | 70 | 71 |
72 |
73 | 74 | 75 |
76 |
77 |

new Layer(options)

78 | 79 | 80 |
81 |
82 | 83 | 84 |
85 |

Layer

86 |
87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 |
Parameters:
96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 |
NameTypeDescription
options 124 | 125 | 126 | Object 127 | 128 | 129 | 130 | 131 |

layer parameters

143 | 144 | 145 | 146 | 147 |
148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 |
184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 |
200 | 201 | 202 |
203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 |
222 | 223 |
224 | 225 | 226 | 227 | 228 |
229 |
230 | 231 |
232 | 233 | 234 |
235 |
236 |
237 | 238 | 239 |
240 |
241 | 242 | 243 | 255 | 256 | 257 | 258 | 259 | 260 | 261 | 332 | 333 | 334 | 335 | 336 | 337 | 338 | 339 | 340 | 341 | 342 | -------------------------------------------------------------------------------- /docs/SourceTag.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Cloudinary JavaScript Library Class: SourceTag 7 | 8 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 46 | 47 | 48 |
49 |
50 | 51 | 52 |
53 | 54 |
55 | 56 | 57 | 58 |

Class: SourceTag

59 |
60 | 61 |
62 | 63 |

64 | SourceTag 65 |

66 | 67 | 68 |
69 | 70 | 71 |
72 |
73 | 74 | 75 |
76 |
77 |

new SourceTag(publicId, options)

78 | 79 | 80 |
81 |
82 | 83 | 84 |
85 |

Creates an HTML (DOM) Image tag using Cloudinary as the source.

86 |
87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 |
Parameters:
96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 134 | 135 | 136 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 168 | 169 | 170 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 |
NameTypeArgumentDescription
publicId 126 | 127 | 128 | string 129 | 130 | 131 | 132 | 133 | 137 | 138 | <optional>
139 | 140 | 141 | 142 | 143 | 144 |
options 160 | 161 | 162 | Object 163 | 164 | 165 | 166 | 167 | 171 | 172 | <optional>
173 | 174 | 175 | 176 | 177 | 178 |
189 | 190 | 191 | 192 | 193 |
194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 |
230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 |
246 | 247 | 248 |
249 | 250 | 251 |

Extends

252 | 253 | 254 | 255 | 256 | 259 | 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 | 271 | 272 | 273 | 274 | 275 | 276 | 277 | 278 |
279 | 280 |
281 | 282 | 283 | 284 | 285 |
286 |
287 | 288 |
289 | 290 | 291 |
292 |
293 |
294 | 295 | 296 |
297 |
298 | 299 | 300 | 312 | 313 | 314 | 315 | 316 | 317 | 318 | 389 | 390 | 391 | 392 | 393 | 394 | 395 | 396 | 397 | 398 | 399 | -------------------------------------------------------------------------------- /docs/SubtitlesLayer.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Cloudinary JavaScript Library Class: SubtitlesLayer 7 | 8 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 46 | 47 | 48 |
49 |
50 | 51 | 52 |
53 | 54 |
55 | 56 | 57 | 58 |

Class: SubtitlesLayer

59 |
60 | 61 |
62 | 63 |

64 | SubtitlesLayer 65 |

66 | 67 | 68 |
69 | 70 | 71 |
72 |
73 | 74 | 75 |
76 |
77 |

new SubtitlesLayer(options)

78 | 79 | 80 |
81 |
82 | 83 | 84 |
85 |

Represent a subtitles layer

86 |
87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 |
Parameters:
96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 |
NameTypeDescription
options 124 | 125 | 126 | Object 127 | 128 | 129 | 130 | 131 |

layer parameters

143 | 144 | 145 | 146 | 147 |
148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 |
184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 |
200 | 201 | 202 |
203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 |
222 | 223 |
224 | 225 | 226 | 227 | 228 |
229 |
230 | 231 |
232 | 233 | 234 |
235 |
236 |
237 | 238 | 239 |
240 |
241 | 242 | 243 | 255 | 256 | 257 | 258 | 259 | 260 | 261 | 332 | 333 | 334 | 335 | 336 | 337 | 338 | 339 | 340 | 341 | 342 | -------------------------------------------------------------------------------- /docs/TextLayer.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Cloudinary JavaScript Library Class: TextLayer 7 | 8 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 46 | 47 | 48 |
49 |
50 | 51 | 52 |
53 | 54 |
55 | 56 | 57 | 58 |

Class: TextLayer

59 |
60 | 61 |
62 | 63 |

64 | TextLayer 65 |

66 | 67 | 68 |
69 | 70 | 71 |
72 |
73 | 74 | 75 |
76 |
77 |

new TextLayer(options)

78 | 79 | 80 |
81 |
82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 |
Parameters:
92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 |
NameTypeDescription
options 120 | 121 | 122 | Object 123 | 124 | 125 | 126 | 127 |

layer parameters

139 | 140 | 141 | 142 | 143 |
144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 |
180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 |
196 | 197 | 198 |
199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 |
218 | 219 |
220 | 221 | 222 | 223 | 224 |
225 |
226 | 227 |
228 | 229 | 230 |
231 |
232 |
233 | 234 | 235 |
236 |
237 | 238 | 239 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 328 | 329 | 330 | 331 | 332 | 333 | 334 | 335 | 336 | 337 | 338 | -------------------------------------------------------------------------------- /docs/TransformationBase.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Cloudinary JavaScript Library Class: TransformationBase 7 | 8 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 46 | 47 | 48 |
49 |
50 | 51 | 52 |
53 | 54 |
55 | 56 | 57 | 58 |

Class: TransformationBase

59 |
60 | 61 |
62 | 63 |

64 | TransformationBase 65 |

66 | 67 | 68 |
69 | 70 | 71 |
72 |
73 | 74 | 75 |
76 |
77 |

new TransformationBase()

78 | 79 | 80 |
81 |
82 | 83 | 84 |
85 |

The base class for transformations. 86 | Members of this class are documented as belonging to the Transformation class for convenience.

87 |
88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 |
99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 |
135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 |
151 | 152 | 153 |
154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 |
173 | 174 |
175 | 176 | 177 | 178 | 179 |
180 |
181 | 182 |
183 | 184 | 185 |
186 |
187 |
188 | 189 | 190 |
191 |
192 | 193 | 194 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 283 | 284 | 285 | 286 | 287 | 288 | 289 | 290 | 291 | 292 | 293 | -------------------------------------------------------------------------------- /docs/VideoTag.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Cloudinary JavaScript Library Class: VideoTag 7 | 8 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 46 | 47 | 48 |
49 |
50 | 51 | 52 |
53 | 54 |
55 | 56 | 57 | 58 |

Class: VideoTag

59 |
60 | 61 |
62 | 63 |

64 | VideoTag 65 |

66 | 67 | 68 |
69 | 70 | 71 |
72 |
73 | 74 | 75 |
76 |
77 |

new VideoTag(publicId, options)

78 | 79 | 80 |
81 |
82 | 83 | 84 |
85 |

Creates an HTML (DOM) Video tag using Cloudinary as the source.

86 |
87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 |
Parameters:
96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 134 | 135 | 136 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 168 | 169 | 170 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 |
NameTypeArgumentDescription
publicId 126 | 127 | 128 | string 129 | 130 | 131 | 132 | 133 | 137 | 138 | <optional>
139 | 140 | 141 | 142 | 143 | 144 |
options 160 | 161 | 162 | Object 163 | 164 | 165 | 166 | 167 | 171 | 172 | <optional>
173 | 174 | 175 | 176 | 177 | 178 |
189 | 190 | 191 | 192 | 193 |
194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 |
230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 |
246 | 247 | 248 |
249 | 250 | 251 |

Extends

252 | 253 | 254 | 255 | 256 | 259 | 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 | 271 | 272 | 273 | 274 |

Methods

275 | 276 |
277 | 278 |
279 |
280 |

#setSourceTransformation(an)

281 | 282 | 283 |
284 |
285 | 286 | 287 |
288 |

Set the transformation to apply on each source

289 |
290 | 291 | 292 | 293 | 294 | 295 | 296 | 297 | 298 |
Parameters:
299 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 309 | 310 | 311 | 312 | 313 | 314 | 315 | 316 | 317 | 318 | 319 | 320 | 321 | 322 | 323 | 324 | 325 | 326 | 335 | 336 | 337 | 338 | 339 | 340 | 341 | 342 | 343 | 344 | 345 |
NameTypeDescription
an 327 | 328 | 329 | Object 330 | 331 | 332 | 333 | 334 |

object with pairs of source type and source transformation

346 | 347 | 348 | 349 | 350 |
351 | 352 | 353 | 354 | 355 | 356 | 357 | 358 | 359 | 360 | 361 | 362 | 363 | 364 | 365 | 366 | 367 | 368 | 369 | 370 | 371 | 372 | 373 | 374 | 375 | 376 | 377 | 378 | 379 | 380 | 381 | 382 | 383 | 384 | 385 | 386 |
387 | 388 | 389 | 390 | 391 | 392 | 393 | 394 | 395 | 396 | 397 | 398 | 399 | 400 | 401 |
Returns: 402 | VideoTag 403 | 404 | 405 |
406 | 407 |
408 |

Returns this instance for chaining purposes.

409 |
410 | 411 | 412 |
413 |
414 | Type 415 |
416 |
417 | 418 | VideoTag 419 | 420 | 421 | 422 |
423 |
424 | 425 | 426 | 427 | 428 | 429 |
430 | 431 |
432 | 433 | 434 | 435 | 436 | 437 |
438 | 439 |
440 | 441 | 442 | 443 | 444 |
445 |
446 | 447 |
448 | 449 | 450 |
451 |
452 |
453 | 454 | 455 |
456 |
457 | 458 | 459 | 471 | 472 | 473 | 474 | 475 | 476 | 477 | 548 | 549 | 550 | 551 | 552 | 553 | 554 | 555 | 556 | 557 | 558 | -------------------------------------------------------------------------------- /docs/classes.list.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Cloudinary JavaScript Library Classes 7 | 8 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 46 | 47 | 48 |
49 |
50 | 51 | 52 |
53 | 54 |
55 | 56 | 57 | 58 |

Classes

59 |
60 | 61 |
62 | 63 |

64 | 65 |

66 | 67 | 68 |
69 | 70 | 71 |
72 |
73 | 74 | 75 | 76 | 77 |
78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 |
114 | 115 | 116 | 117 | 118 |
119 | 120 | 121 | 122 | 123 | 124 | 125 |

Classes

126 | 127 |
128 |
ClientHintsMetaTag
129 |
130 | 131 |
Cloudinary
132 |
133 | 134 |
CloudinaryJQuery
135 |
136 | 137 |
Condition
138 |
139 | 140 |
Configuration
141 |
142 | 143 |
Expression
144 |
145 | 146 |
FetchLayer
147 |
148 | 149 |
HtmlTag
150 |
151 | 152 |
ImageTag
153 |
154 | 155 |
jQuery
156 |
157 | 158 |
Layer
159 |
160 | 161 |
Util
162 |
163 | 164 |
SourceTag
165 |
166 | 167 |
SubtitlesLayer
168 |
169 | 170 |
TextLayer
171 |
172 | 173 |
Transformation
174 |
175 | 176 |
TransformationBase
177 |
178 | 179 |
VideoTag
180 |
181 |
182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 |
196 | 197 |
198 | 199 | 200 | 201 | 202 |
203 |
204 | 205 |
206 | 207 | 208 |
209 |
210 |
211 | 212 | 213 |
214 |
215 | 216 | 217 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 306 | 307 | 308 | 309 | 310 | 311 | 312 | 313 | 314 | 315 | 316 | -------------------------------------------------------------------------------- /docs/global.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Cloudinary JavaScript Library Global 7 | 8 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 46 | 47 | 48 |
49 |
50 | 51 | 52 |
53 | 54 |
55 | 56 | 57 | 58 |

Global

59 |
60 | 61 |
62 | 63 |

64 | 65 |

66 | 67 | 68 |
69 | 70 | 71 |
72 |
73 | 74 | 75 | 76 | 77 |
78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 |
114 | 115 | 116 | 117 | 118 |
119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 |

Methods

134 | 135 |
136 | 137 |
138 |
139 |

toAttribute(key, value)

140 | 141 | 142 |
143 |
144 | 145 | 146 |
147 |

Represent the given key and value as an HTML attribute.

148 |
149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 |
Parameters:
158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 |
NameTypeDescription
key 186 | 187 | 188 | string 189 | 190 | 191 | 192 | 193 |

attribute name

value 210 | 211 | 212 | * 213 | | 214 | 215 | boolean 216 | 217 | 218 | 219 | 220 |

the value of the attribute. If the value is boolean true, return the key only.

232 | 233 | 234 | 235 | 236 |
237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | 259 | 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 | 271 | 272 |
273 | 274 | 275 | 276 | 277 | 278 | 279 | 280 | 281 | 282 | 283 | 284 | 285 | 286 | 287 |
Returns: 288 | string 289 | 290 | 291 |
292 | 293 |
294 |

the attribute

295 |
296 | 297 | 298 |
299 |
300 | Type 301 |
302 |
303 | 304 | string 305 | 306 | 307 | 308 |
309 |
310 | 311 | 312 | 313 | 314 | 315 |
316 | 317 | 318 | 319 |
320 |
321 |

value()

322 | 323 | 324 |
325 |
326 | 327 | 328 |
329 |

Serialize the expression

330 |
331 | 332 | 333 | 334 | 335 | 336 | 337 | 338 | 339 | 340 | 341 |
342 | 343 | 344 | 345 | 346 | 347 | 348 | 349 | 350 | 351 | 352 | 353 | 354 | 355 | 356 | 357 | 358 | 359 | 360 | 361 | 362 | 363 | 364 | 365 | 366 | 367 | 368 | 369 | 370 | 371 | 372 | 373 | 374 | 375 | 376 | 377 |
378 | 379 | 380 | 381 | 382 | 383 | 384 | 385 | 386 | 387 | 388 | 389 | 390 | 391 | 392 |
Returns: 393 | string 394 | 395 | 396 |
397 | 398 |
399 |

the expression as a string

400 |
401 | 402 | 403 |
404 |
405 | Type 406 |
407 |
408 | 409 | string 410 | 411 | 412 | 413 |
414 |
415 | 416 | 417 | 418 | 419 | 420 |
421 | 422 |
423 | 424 | 425 | 426 | 427 | 428 |
429 | 430 |
431 | 432 | 433 | 434 | 435 |
436 |
437 | 438 |
439 | 440 | 441 |
442 |
443 |
444 | 445 | 446 |
447 |
448 | 449 | 450 | 462 | 463 | 464 | 465 | 466 | 467 | 468 | 539 | 540 | 541 | 542 | 543 | 544 | 545 | 546 | 547 | 548 | 549 | -------------------------------------------------------------------------------- /docs/img/glyphicons-halflings-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudinary/pkg-cloudinary-jquery-file-upload/faec6b0c337e874ac06f8770b425f985845c685e/docs/img/glyphicons-halflings-white.png -------------------------------------------------------------------------------- /docs/img/glyphicons-halflings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudinary/pkg-cloudinary-jquery-file-upload/faec6b0c337e874ac06f8770b425f985845c685e/docs/img/glyphicons-halflings.png -------------------------------------------------------------------------------- /docs/jQuery.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Cloudinary JavaScript Library Class: jQuery 7 | 8 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 46 | 47 | 48 |
49 |
50 | 51 | 52 |
53 | 54 |
55 | 56 | 57 | 58 |

Class: jQuery

59 |
60 | 61 |
62 | 63 |

64 | jQuery 65 |

66 | 67 | 68 |
69 | 70 | 71 |
72 |
73 | 74 | 75 |
76 |
77 |

new jQuery()

78 | 79 | 80 |
81 |
82 | 83 | 84 |
85 |

The following methods are provided through the jQuery class

86 |
87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 |
98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 |
134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 |
150 | 151 | 152 |
153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 |

Methods

168 | 169 |
170 | 171 |
172 |
173 |

#cloudinary(options)

174 | 175 | 176 |
177 |
178 | 179 | 180 |
181 |

Convert all img tags in the collection to utilize Cloudinary.

182 |
183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 |
Parameters:
192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 230 | 231 | 232 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 |
NameTypeArgumentDescription
options 222 | 223 | 224 | Object 225 | 226 | 227 | 228 | 229 | 233 | 234 | <optional>
235 | 236 | 237 | 238 | 239 | 240 |

options for the tag and transformations

251 | 252 | 253 | 254 | 255 |
256 | 257 | 258 | 259 | 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 | 271 | 272 | 273 | 274 | 275 | 276 | 277 | 278 | 279 | 280 | 281 | 282 | 283 | 284 | 285 | 286 | 287 | 288 | 289 | 290 | 291 |
292 | 293 | 294 | 295 | 296 | 297 | 298 | 299 | 300 | 301 | 302 | 303 | 304 | 305 | 306 |
Returns: 307 | jQuery 308 | 309 | 310 |
311 | 312 | 313 | 314 | 315 |
316 |
317 | Type 318 |
319 |
320 | 321 | jQuery 322 | 323 | 324 | 325 |
326 |
327 | 328 | 329 | 330 | 331 | 332 |
333 | 334 | 335 | 336 |
337 |
338 |

#cloudinary_fileupload(options)

339 | 340 | 341 |
342 |
343 | 344 | 345 |
346 |

Initialize the jQuery File Upload plugin to upload to Cloudinary

347 |
348 | 349 | 350 | 351 | 352 | 353 | 354 | 355 | 356 |
Parameters:
357 | 358 | 359 | 360 | 361 | 362 | 363 | 364 | 365 | 366 | 367 | 368 | 369 | 370 | 371 | 372 | 373 | 374 | 375 | 376 | 377 | 378 | 379 | 380 | 381 | 382 | 383 | 384 | 393 | 394 | 395 | 396 | 397 | 398 | 399 | 400 | 401 | 402 | 403 |
NameTypeDescription
options 385 | 386 | 387 | Object 388 | 389 | 390 | 391 | 392 |
404 | 405 | 406 | 407 | 408 |
409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 425 | 426 | 427 | 428 | 429 | 430 | 431 | 432 | 433 | 434 | 435 | 436 | 437 | 438 | 439 | 440 | 441 | 442 | 443 | 444 |
445 | 446 | 447 | 448 | 449 | 450 | 451 | 452 | 453 | 454 | 455 | 456 | 457 | 458 | 459 |
Returns: 460 | jQuery 461 | 462 | 463 |
464 | 465 | 466 | 467 | 468 |
469 |
470 | Type 471 |
472 |
473 | 474 | jQuery 475 | 476 | 477 | 478 |
479 |
480 | 481 | 482 | 483 | 484 | 485 |
486 | 487 | 488 | 489 |
490 |
491 |

#cloudinary_upload_url(remote_url)

492 | 493 | 494 |
495 |
496 | 497 | 498 |
499 |

Add a file to upload

500 |
501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 509 |
Parameters:
510 | 511 | 512 | 513 | 514 | 515 | 516 | 517 | 518 | 519 | 520 | 521 | 522 | 523 | 524 | 525 | 526 | 527 | 528 | 529 | 530 | 531 | 532 | 533 | 534 | 535 | 536 | 537 | 546 | 547 | 548 | 549 | 550 | 551 | 552 | 553 | 554 | 555 | 556 |
NameTypeDescription
remote_url 538 | 539 | 540 | string 541 | 542 | 543 | 544 | 545 |

the url to add

557 | 558 | 559 | 560 | 561 |
562 | 563 | 564 | 565 | 566 | 567 | 568 | 569 | 570 | 571 | 572 | 573 | 574 | 575 | 576 | 577 | 578 | 579 | 580 | 581 | 582 | 583 | 584 | 585 | 586 | 587 | 588 | 589 | 590 | 591 | 592 | 593 | 594 | 595 | 596 | 597 |
598 | 599 | 600 | 601 | 602 | 603 | 604 | 605 | 606 | 607 | 608 | 609 | 610 | 611 | 612 |
Returns: 613 | jQuery 614 | 615 | 616 |
617 | 618 | 619 | 620 | 621 |
622 |
623 | Type 624 |
625 |
626 | 627 | jQuery 628 | 629 | 630 | 631 |
632 |
633 | 634 | 635 | 636 | 637 | 638 |
639 | 640 | 641 | 642 |
643 |
644 |

#unsigned_cloudinary_upload(upload_preset, upload_params, options)

645 | 646 | 647 |
648 |
649 | 650 | 651 |
652 |

Initialize the jQuery File Upload plugin to upload to Cloudinary using unsigned upload

653 |
654 | 655 | 656 | 657 | 658 | 659 | 660 | 661 | 662 |
Parameters:
663 | 664 | 665 | 666 | 667 | 668 | 669 | 670 | 671 | 672 | 673 | 674 | 675 | 676 | 677 | 678 | 679 | 680 | 681 | 682 | 683 | 684 | 685 | 686 | 687 | 688 | 689 | 690 | 691 | 692 | 701 | 702 | 703 | 710 | 711 | 712 | 713 | 714 | 715 | 716 | 717 | 718 | 719 | 720 | 721 | 722 | 723 | 724 | 733 | 734 | 735 | 744 | 745 | 746 | 747 | 748 | 749 | 750 | 751 | 752 | 753 | 754 | 755 | 756 | 757 | 758 | 767 | 768 | 769 | 778 | 779 | 780 | 781 | 782 | 783 | 784 | 785 | 786 | 787 |
NameTypeArgumentDescription
upload_preset 693 | 694 | 695 | string 696 | 697 | 698 | 699 | 700 | 704 | 705 | 706 | 707 | 708 | 709 |

the upload preset to use

upload_params 725 | 726 | 727 | Object 728 | 729 | 730 | 731 | 732 | 736 | 737 | <optional>
738 | 739 | 740 | 741 | 742 | 743 |

parameters that should be past to the server

options 759 | 760 | 761 | Object 762 | 763 | 764 | 765 | 766 | 770 | 771 | <optional>
772 | 773 | 774 | 775 | 776 | 777 |
788 | 789 | 790 | 791 | 792 |
793 | 794 | 795 | 796 | 797 | 798 | 799 | 800 | 801 | 802 | 803 | 804 | 805 | 806 | 807 | 808 | 809 | 810 | 811 | 812 | 813 | 814 | 815 | 816 | 817 | 818 | 819 | 820 | 821 | 822 | 823 | 824 | 825 | 826 | 827 | 828 |
829 | 830 | 831 | 832 | 833 | 834 | 835 | 836 | 837 | 838 | 839 | 840 | 841 | 842 | 843 |
Returns: 844 | jQuery 845 | 846 | 847 |
848 | 849 | 850 | 851 | 852 |
853 |
854 | Type 855 |
856 |
857 | 858 | jQuery 859 | 860 | 861 | 862 |
863 |
864 | 865 | 866 | 867 | 868 | 869 |
870 | 871 | 872 | 873 |
874 |
875 |

#webpify()

876 | 877 | 878 |
879 |
880 | 881 | 882 | 883 | 884 | 885 | 886 | 887 | 888 | 889 | 890 | 891 |
892 | 893 | 894 | 895 | 896 | 897 | 898 | 899 | 900 | 901 | 902 | 903 | 904 | 905 | 906 | 907 | 908 | 909 | 910 | 911 | 912 | 913 | 914 | 915 | 916 | 917 | 918 | 919 | 920 | 921 | 922 | 923 | 924 | 925 | 926 | 927 |
928 | 929 | 930 | 931 | 932 | 933 | 934 | 935 | 936 | 937 | 938 | 939 | 940 | 941 | 942 | 943 |
944 | 945 |
946 | 947 | 948 | 949 | 950 | 951 |
952 | 953 |
954 | 955 | 956 | 957 | 958 |
959 |
960 | 961 |
962 | 963 | 964 |
965 |
966 |
967 | 968 | 969 |
970 |
971 | 972 | 973 | 985 | 986 | 987 | 988 | 989 | 990 | 991 | 1062 | 1063 | 1064 | 1065 | 1066 | 1067 | 1068 | 1069 | 1070 | 1071 | 1072 | -------------------------------------------------------------------------------- /docs/module-utils-Util.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Cloudinary JavaScript Library Class: Util 7 | 8 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 46 | 47 | 48 |
49 |
50 | 51 | 52 |
53 | 54 |
55 | 56 | 57 | 58 |

Class: Util

59 |
60 | 61 |
62 | 63 |

64 | Util 65 |

66 | 67 | 68 |
69 | 70 | 71 |
72 |
73 | 74 | 75 |
76 |
77 |

new Util()

78 | 79 | 80 |
81 |
82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 |
94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 |
130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 |
146 | 147 | 148 |
149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 |
168 | 169 |
170 | 171 | 172 | 173 | 174 |
175 |
176 | 177 |
178 | 179 | 180 |
181 |
182 |
183 | 184 | 185 |
186 |
187 | 188 | 189 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 278 | 279 | 280 | 281 | 282 | 283 | 284 | 285 | 286 | 287 | 288 | -------------------------------------------------------------------------------- /docs/scripts/bootstrap-dropdown.js: -------------------------------------------------------------------------------- 1 | /* ============================================================ 2 | * bootstrap-dropdown.js v2.3.2 3 | * http://getbootstrap.com/2.3.2/javascript.html#dropdowns 4 | * ============================================================ 5 | * Copyright 2013 Twitter, Inc. 6 | * 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * ============================================================ */ 19 | 20 | 21 | !function ($) { 22 | 23 | "use strict"; // jshint ;_; 24 | 25 | 26 | /* DROPDOWN CLASS DEFINITION 27 | * ========================= */ 28 | 29 | var toggle = '[data-toggle=dropdown]' 30 | , Dropdown = function (element) { 31 | var $el = $(element).on('click.dropdown.data-api', this.toggle) 32 | $('html').on('click.dropdown.data-api', function () { 33 | $el.parent().removeClass('open') 34 | }) 35 | } 36 | 37 | Dropdown.prototype = { 38 | 39 | constructor: Dropdown 40 | 41 | , toggle: function (e) { 42 | var $this = $(this) 43 | , $parent 44 | , isActive 45 | 46 | if ($this.is('.disabled, :disabled')) return 47 | 48 | $parent = getParent($this) 49 | 50 | isActive = $parent.hasClass('open') 51 | 52 | clearMenus() 53 | 54 | if (!isActive) { 55 | if ('ontouchstart' in document.documentElement) { 56 | // if mobile we we use a backdrop because click events don't delegate 57 | $('