mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
chore: add missing mat prefix selectors (#7114)
This commit is contained in:
@@ -66,7 +66,7 @@ const MD_MENU_BASE_ELEVATION = 2;
|
||||
transformMenu,
|
||||
fadeInItems
|
||||
],
|
||||
exportAs: 'mdMenu'
|
||||
exportAs: 'mdMenu, matMenu'
|
||||
})
|
||||
export class MdMenu implements AfterContentInit, MdMenuPanel, OnDestroy {
|
||||
private _keyManager: FocusKeyManager<MdMenuItem>;
|
||||
|
||||
@@ -81,7 +81,7 @@ export const MENU_PANEL_TOP_PADDING = 8;
|
||||
'(keydown)': '_handleKeydown($event)',
|
||||
'(click)': '_handleClick($event)',
|
||||
},
|
||||
exportAs: 'mdMenuTrigger'
|
||||
exportAs: 'mdMenuTrigger, matMenuTrigger'
|
||||
})
|
||||
export class MdMenuTrigger implements AfterViewInit, OnDestroy {
|
||||
private _portal: TemplatePortal<any>;
|
||||
|
||||
@@ -1113,7 +1113,7 @@ class OverlapMenu implements TestableMenu {
|
||||
<ng-content></ng-content>
|
||||
</ng-template>
|
||||
`,
|
||||
exportAs: 'mdCustomMenu'
|
||||
exportAs: 'mdCustomMenu, matCustomMenu'
|
||||
})
|
||||
class CustomMenuPanel implements MdMenuPanel {
|
||||
direction: Direction;
|
||||
|
||||
Reference in New Issue
Block a user