Changeset 61447
- Timestamp:
- 01/06/2026 11:56:12 PM (3 months ago)
- Location:
- trunk/src/js/media/controllers
- Files:
-
- 2 edited
-
collection-add.js (modified) (1 diff)
-
gallery-add.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/js/media/controllers/collection-add.js
r47122 r61447 18 18 * @param {string} [attributes.id=library] Unique identifier. 19 19 * @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. -
trunk/src/js/media/controllers/gallery-add.js
r46800 r61447 21 21 * @param {string} [attributes.id=gallery-library] Unique identifier. 22 22 * @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.
Note: See TracChangeset
for help on using the changeset viewer.