Skip to content

SiAutoCollapsableListItemDirective documentation

selector exported-as
[siAutoCollapsableListItem] siAutoCollapsableListItem

Input Properties

Name Type Default Description
forceHide
boolean false Hide this item even if enough space is available. When calculating the overall available size, this item is still considered when forceHide=true

Attributes and Methods

Name Type Default Description
(readonly) canBeVisible
WritableSignal<boolean> false True if enough space is available for this item.
(readonly) isVisible
Signal<boolean> ... True if this item is actually visible to the user
size$
Observable<number> this.resizeObserverService .observe(this.elementRef.nativeElement, 0, true, true) .pipe( map(size =​> size.width), distinctUntilChanged(), takeUntilDestroyed(), shareReplay({ bufferSize: 1, refCount: true }) ) Emits on element width changes.

Types Documentation

No types to document for items on this page.


Except where otherwise noted, content on this site is licensed under MIT License.