Changeset 43141
- Timestamp:
- 05/03/2018 02:39:25 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/media/controllers/gallery-edit.js
r42798 r43141 17 17 * @memberOf wp.media.controller 18 18 * 19 * @param { object} [attributes] The attributes hash passed to the state.19 * @param {Object} [attributes] The attributes hash passed to the state. 20 20 * @param {string} [attributes.id=gallery-edit] Unique identifier. 21 21 * @param {string} [attributes.title=Edit Gallery] Title for the state. Displays in the frame's title region. … … 60 60 61 61 /** 62 * Initializes the library. 63 * 64 * Creates a selection if a library isn't supplied and creates an attachment 65 * view if no attachment view is supplied. 66 * 62 67 * @since 3.5.0 68 * 69 * @return {void} 63 70 */ 64 71 initialize: function() { … … 77 84 78 85 /** 86 * Activates the library. 87 * 88 * Limits the library to images, watches for uploaded attachments. Watches for 89 * the browse event on the frame and binds it to gallerySettings. 90 * 79 91 * @since 3.5.0 92 * 93 * @return {void} 80 94 */ 81 95 activate: function() { … … 94 108 95 109 /** 110 * Deactivates the library. 111 * 112 * Stops watching for uploaded attachments and browse events. 113 * 96 114 * @since 3.5.0 115 * 116 * @return {void} 97 117 */ 98 118 deactivate: function() { … … 106 126 107 127 /** 128 * Adds the gallery settings to the sidebar and adds a reverse button to the 129 * toolbar. 130 * 108 131 * @since 3.5.0 109 132 * 110 * @param browser 133 * @param {wp.media.view.Frame} browser The file browser. 134 * 135 * @return {void} 111 136 */ 112 137 gallerySettings: function( browser ) {
Note: See TracChangeset
for help on using the changeset viewer.