Getting Started
Writing content
API Documentation
Customization
Recipes
API References Develop
@ng-doc/ui-kit / Class

NgDocExpanderComponent

Decorators:@Component
Selectors:ng-doc-expander
Implements:AfterViewInit

Component helps to expand or collapse content

Properties

NameTypeDescription
animationDisabled
p
boolean
content
NgDocContent

Expander content

expanded
boolean

Change expand state

from
number

Closed height could be used to show preview of the content

Methods

ngAfterViewInit()

implements AfterViewInit

No documentation has been provided.

Presentation
ngAfterViewInit(): void;
Returns
void

toggle()

No documentation has been provided.

Presentation
toggle(): void;
Returns
void