@angular/material/menu#MatMenu TypeScript Examples

The following examples show how to use @angular/material/menu#MatMenu. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: tutorial-popup.component.ts    From bdc-walkthrough with MIT License 5 votes vote down vote up
@ViewChild(MatMenu, { static: true }) menu: MatMenu;
Example #2
Source File: emote-card.component.ts    From App with MIT License 5 votes vote down vote up
@Input() contextMenu: MatMenu | null = null;
Example #3
Source File: chatterino-dialog.component.ts    From App with MIT License 5 votes vote down vote up
@ViewChild('installTypeMenu', { static: true }) installTypeMenu: MatMenu | undefined;
Example #4
Source File: ctx-menu.component.ts    From App with MIT License 5 votes vote down vote up
constructor(
		private router: Router,
		private emoteListService: EmoteListService,
		private windowRef: WindowRef,
		public clientService: ClientService,
	) {
		this.userMenu = {} as MatMenu;
	}
Example #5
Source File: ctx-menu.component.ts    From App with MIT License 5 votes vote down vote up
@ViewChild('emoteContextMenu') emoteMenu: MatMenu | null = null;
Example #6
Source File: ctx-menu.component.ts    From App with MIT License 5 votes vote down vote up
@ViewChild('userContextMenu') userMenu: MatMenu;
Example #7
Source File: user-name.component.ts    From App with MIT License 5 votes vote down vote up
@Input() contextMenu: MatMenu | null = null;
Example #8
Source File: tour-anchor-opener.component.ts    From ngx-ui-tour with MIT License 5 votes vote down vote up
@Input() menu: MatMenu = new MatMenu(undefined, undefined, {
    xPosition: 'after',
    yPosition: 'below',
    overlapTrigger: true,
    backdropClass: ''
  });
Example #9
Source File: tour-step-template.component.ts    From ngx-ui-tour with MIT License 5 votes vote down vote up
@ViewChild(MatMenu)
    public tourStep: MatMenu;