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

NgDocExpanderComponent

Component helps to expand or collapse content

Decorators
@Component
Selectors
ng-doc-expander
DeclarationTypeScript
@Component({ … })
export class NgDocExpanderComponent { … }

Members

Properties

3
collapseMod: InputSignal<"hide" | "remove">
readonly input()

remove removes the collapsed content from the DOM; hide keeps it, inert and hidden.

readonly input()required

Expander content

expanded: ModelSignal<boolean>
readonly model()

Whether the content is shown.

Methods

3
(…): void
protected
—
(…): void
protected
—
(): void

Shows or hides the content.

Symbol
Kind
Class
Decorators
@Component
Selectors
ng-doc-expander
Scope
@ng-doc/ui-kit
Edit this page