mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
add exportAs to focusTrap directive (#3688)
This commit is contained in:
@@ -222,7 +222,8 @@ export class FocusTrapDeprecatedDirective implements OnDestroy, AfterContentInit
|
||||
|
||||
/** Directive for trapping focus within a region. */
|
||||
@Directive({
|
||||
selector: '[cdkTrapFocus]'
|
||||
selector: '[cdkTrapFocus]',
|
||||
exportAs: 'cdkTrapFocus',
|
||||
})
|
||||
export class FocusTrapDirective implements OnDestroy, AfterContentInit {
|
||||
focusTrap: FocusTrap;
|
||||
|
||||
Reference in New Issue
Block a user