@ctrl/ngx-rightclick
Version:
GitHub Buttons for Angular. Star, Like, Follow and more
21 lines (20 loc) • 853 B
TypeScript
import { AnimationEvent } from '@angular/animations';
import { ContextMenuService } from './context-menu.service';
import { MenuPackage } from './context-menu-injector';
import { Subject } from 'rxjs';
export declare class MenuComponent {
menuPackage: MenuPackage;
contextMenuService: ContextMenuService;
/** State of the dialog animation. */
_state: 'void' | 'enter' | 'exit';
_animationDone: Subject<AnimationEvent>;
/** set lazy to False if you do not have animations */
lazy: boolean;
closetimer: any;
constructor(menuPackage: MenuPackage, contextMenuService: ContextMenuService);
handleMouseover(): void;
handleMouseleave(): void;
handleWindowClick($event: MouseEvent): void;
/** Callback that is invoked when the menu animation completes. */
_onAnimationDone(event: AnimationEvent): void;
}