NgDocSelectionComponent
Highlight that slides to the selected of the closest , for example the underline of the active tab or the thumb of a segmented control. It covers the selected element and moves with a transform.
The highlight is measured in the browser only. Until it is placed it is hidden and has no data-ng-doc-placed attribute, so the selected element can style itself in the server-rendered page, for example with . The first placement never animates, and nothing animates when the reader prefers reduced motion.
- Decorators
@Component - Selectors
ng-doc-selection
DeclarationTypeScript
@Component ({ … })
export class NgDocSelectionComponent { … }Members
Constructor1 | |
() | — |
Signature | |
Properties1 | |
align: | Side of the selected element on which the highlight draws its border, or |
No members match.