File tree Expand file tree Collapse file tree
core/modules/outside_in/js Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111
1212( ( $ , Drupal , debounce , displace ) => {
1313 /**
14- * Attaches off-canvas dialog behaviors.
15- *
16- * @type {Drupal~behavior }
14+ * what goes here???
1715 *
18- * @prop {Drupal~behaviorAttach } attach
19- * Attaches event listeners for off-canvas dialogs.
16+ * @namespace
2017 */
2118 Drupal . offCanvas = {
2219
6158 of : window ,
6259 } ;
6360
64- // Applies initial height to dialog based on window height.
65- // See http://api.jqueryui.com/dialog for all dialog options.
61+ /**
62+ * Applies initial height to dialog based on window height.
63+ * @see http://api.jqueryui.com/dialog for all dialog options.
64+ */
6665 settings . height = $ ( window ) . height ( ) ;
6766 } ,
6867
222221 } ,
223222 } ;
224223
224+ /**
225+ * Attaches off-canvas dialog behaviors.
226+ *
227+ * @type {Drupal~behavior }
228+ *
229+ * @prop {Drupal~behaviorAttach } attach
230+ * Attaches event listeners for off-canvas dialogs.
231+ */
225232 Drupal . behaviors . offCanvasEvents = {
226233 attach : ( ) => {
227234 $ ( window ) . once ( 'off-canvas' ) . on ( {
You can’t perform that action at this time.
0 commit comments