You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @param {string} attributes.title Title for the state. Displays in the frame's title region.
20
-
* @param {boolean} [attributes.multiple=add] Whether multi-select is enabled. @todo 'add' doesn't seem do anything special, and gets used as a boolean.
20
+
* @param {boolean|string} [attributes.multiple=add] Whether multi-select is enabled. Accepts 'add' or true.
21
+
* When set to true, requires Shift or Cmd/Ctrl to select multiple items.
22
+
* When set to 'add', allows selecting multiple items by clicking thumbnails.
21
23
* @param {wp.media.model.Attachments} [attributes.library] The attachments collection to browse.
22
24
* If one is not supplied, a collection of attachments of the specified type will be created.
23
25
* @param {boolean|string} [attributes.filterable=uploaded] Whether the library is filterable, and if so what filters should be shown.
* @param {string} [attributes.title=Add to Gallery] Title for the state. Displays in the frame's title region.
23
-
* @param {boolean} [attributes.multiple=add] Whether multi-select is enabled. @todo 'add' doesn't seem do anything special, and gets used as a boolean.
23
+
* @param {boolean|string} [attributes.multiple=add] Whether multi-select is enabled. Accepts 'add' or true.
24
+
* When set to true, requires Shift or Cmd/Ctrl to select multiple items.
25
+
* When set to 'add', allows selecting multiple items by clicking thumbnails.
24
26
* @param {wp.media.model.Attachments} [attributes.library] The attachments collection to browse.
25
27
* If one is not supplied, a collection of all images will be created.
26
28
* @param {boolean|string} [attributes.filterable=uploaded] Whether the library is filterable, and if so what filters should be shown.
0 commit comments