Skip to content

Expose FocusTrap API through CdkTrapFocus #7979

Open
@jelbourn

Description

@jelbourn

The CdkTrapFocus directive exposes its FocusTrap instance, requiring users to go through something like this._focusTrap.focTrap.doSomething().

We should make the internal FocusTrap private and expose the same APIs

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4A relatively minor issue that is not relevant to core functionsarea: cdk/a11yrefactoringThis issue is related to a refactoring

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions