UNPKG

1.33 kBTypeScriptView Raw
1import { NbMenuItem } from '../../components/menu/menu.service';
2import { NbPositionedContainerComponent, NbRenderableContainer } from '../cdk/overlay/overlay-container';
3import * as i0 from "@angular/core";
4/**
5 * Context menu component used as content within NbContextMenuDirective.
6 *
7 * @styles
8 *
9 * context-menu-background-color:
10 * context-menu-border-color:
11 * context-menu-border-style:
12 * context-menu-border-width:
13 * context-menu-border-radius:
14 * context-menu-text-align:
15 * context-menu-min-width:
16 * context-menu-max-width:
17 * context-menu-shadow:
18 * */
19export declare class NbContextMenuComponent extends NbPositionedContainerComponent implements NbRenderableContainer {
20 items: NbMenuItem[];
21 tag: string;
22 context: {
23 items: NbMenuItem[];
24 tag?: string;
25 };
26 /**
27 * The method is empty since we don't need to do anything additionally
28 * render is handled by change detection
29 */
30 renderContent(): void;
31 static ɵfac: i0.ɵɵFactoryDeclaration<NbContextMenuComponent, never>;
32 static ɵcmp: i0.ɵɵComponentDeclaration<NbContextMenuComponent, "nb-context-menu", never, { "items": { "alias": "items"; "required": false; }; "tag": { "alias": "tag"; "required": false; }; "context": { "alias": "context"; "required": false; }; }, {}, never, never, false, never>;
33}