@ifsworld/granite-components 18.0.1 → 18.1.0-beta.1
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/index.d.ts
CHANGED
|
@@ -388,6 +388,7 @@ declare class _MenuBaseComponent implements AfterContentInit, OnDestroy, AfterCo
|
|
|
388
388
|
/** Client output device information */
|
|
389
389
|
_clientOutput: ClientOutputInterface;
|
|
390
390
|
private _changeDetectorRef;
|
|
391
|
+
private _menuStack;
|
|
391
392
|
private _menuEmpty$;
|
|
392
393
|
_isMenuEmpty$: Observable<boolean>;
|
|
393
394
|
/** Only the direct descendant menu items. */
|
|
@@ -475,9 +476,10 @@ declare class _MenuBaseComponent implements AfterContentInit, OnDestroy, AfterCo
|
|
|
475
476
|
_handleClick(event?: Event): void;
|
|
476
477
|
/**
|
|
477
478
|
* Handle click on the close button by emitting on the `closed` emitter
|
|
478
|
-
* without any particular reason
|
|
479
|
+
* without any particular reason.
|
|
480
|
+
* For touch devices, only closes if this is the topmost menu in the stack.
|
|
479
481
|
*/
|
|
480
|
-
_handleCloseClick(): void;
|
|
482
|
+
_handleCloseClick(event?: MouseEvent): void;
|
|
481
483
|
/**
|
|
482
484
|
* Handle click on the back icon by emitting on the `clicked` emitter
|
|
483
485
|
*/
|
|
@@ -535,6 +537,7 @@ declare class GraniteMenuTriggerForDirective implements AfterContentInit, OnDest
|
|
|
535
537
|
private _menuItemInstance;
|
|
536
538
|
private _dir;
|
|
537
539
|
private _focusMonitor;
|
|
540
|
+
private _menuStack;
|
|
538
541
|
private _touchStartTime;
|
|
539
542
|
private _touchTimeTaken;
|
|
540
543
|
private _touchStartX;
|