Skip to content

SiAutoCollapsableListOverflowItemDirective documentation

selector exported-as
[siAutoCollapsableListOverflowItem] siAutoCollapsableListOverflowItem

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.
hiddenItemCount
number 0 Number of hidden items.
(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

Observable<number> = this.resizeObserverService .observe(this.elementRef.nativeElement, 0, true, true) .pipe( map(size =​> size.width), distinctUntilChanged(), takeUntilDestroyed(), shareReplay({ bufferSize: 1, refCount: true }) )
Property
Emits on element width changes.

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