@ckeditor/ckeditor5-ui 48.0.1 → 48.1.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -1535,8 +1535,13 @@ const xhtmlNs = 'http://www.w3.org/1999/xhtml';
|
|
|
1535
1535
|
* console.log( 'The view has been clicked!' );
|
|
1536
1536
|
* } );
|
|
1537
1537
|
* ```
|
|
1538
|
+
*
|
|
1539
|
+
* @property {TElement | null} element An HTML element of the view. `null` until {@link module:ui/view~View#render rendered}
|
|
1540
|
+
* from the {@link module:ui/view~View#template template}. The class-level example above illustrates typical usage. The
|
|
1541
|
+
* full description, fenced examples, and assignment note are in the block comment immediately above the `element` field
|
|
1542
|
+
* in the source.
|
|
1538
1543
|
*/ class View extends /* #__PURE__ */ DomEmitterMixin(/* #__PURE__ */ ObservableMixin()) {
|
|
1539
|
-
|
|
1544
|
+
/*
|
|
1540
1545
|
* An HTML element of the view. `null` until {@link #render rendered}
|
|
1541
1546
|
* from the {@link #template}.
|
|
1542
1547
|
*
|
|
@@ -18011,6 +18016,9 @@ const EVENT_NAME_DELEGATES = [
|
|
|
18011
18016
|
for (const topLevelCategoryMenuView of this.children){
|
|
18012
18017
|
topLevelCategoryMenuView.isOpen = false;
|
|
18013
18018
|
}
|
|
18019
|
+
// Set isOpen synchronously to prevent deferred events (e.g. mouseenter fired by the browser
|
|
18020
|
+
// after DOM manipulations) from re-opening menus via `toggleMenusAndFocusItemsOnHover`.
|
|
18021
|
+
this.isOpen = false;
|
|
18014
18022
|
}
|
|
18015
18023
|
/**
|
|
18016
18024
|
* Disables all menus in the bar.
|