Skip to content

Commit 0e3e4c1

Browse files
committed
docs(jquery): document how selectors are processed
closes FineUploader#1375 [skip ci]
1 parent 2bb643a commit 0e3e4c1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/integrating/jquery.jmd

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,12 @@ option, you should be aware that the `callbacks` function will always be evaluat
102102
the `callbacks` function will be accepted instead of the return value from the jQuery event handler if the return
103103
value of the `callbacks` function is non-null.""", "info", "Note:") }}
104104

105+
{{ alert(
106+
"""When passing a jQuery object as the value for an option or API method parameter, all elements represented by the selector will
107+
be resolved IFF the expected data type is an array. Otherwise, only the first element matched by the selector will be used.
108+
For an example of the latter situation please see [case #1375 in the issue tracker](https://github.com/FineUploader/fine-uploader/issues/1375).
109+
""", "info", "Note:") }}
110+
105111
## API Methods
106112

107113
All public API methods are also accessible when using the jQuery plugin, but -- as with callbacks --

0 commit comments

Comments
 (0)