Skip to content
@ng-doc/ui-kit / Class

NgDocSelectionOriginDirective

Element that the ng-doc-selection of the closest ngDocSelectionHost highlights while ngDocSelectionOrigin is true.

Decorators
@Directive
Selectors
[ngDocSelectionOrigin]
DeclarationTypeScript
@Directive({ … })
export class NgDocSelectionOriginDirective { … }

Members

Constructor

1
()
—

Properties

2
elementRef: ElementRef<HTMLElement>
readonly

The host element.

selected: InputSignal<boolean>
readonly input()

Whether the element is selected.

Symbol
Kind
Class
Decorators
@Directive
Selectors
[ngDocSelectionOrigin]
Scope
@ng-doc/ui-kit
Edit this page