SiAutoCollapsableListOverflowItemDirective documentation¶
import { SiAutoCollapsableListOverflowItemDirective } from '@siemens/element-ng/auto-collapsable-list'; Input Properties¶
| Name | Type | Default | Description |
|---|---|---|---|
| forceHide inherited ¶ | 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 Inherited from SiAutoCollapsableListItemDirective |
Attributes and Methods¶
| Name | Type | Default | Description |
|---|---|---|---|
| (readonly)canBeVisible inherited ¶ | WritableSignal<boolean> | false | True if enough space is available for this item. Inherited from SiAutoCollapsableListItemDirective |
| (readonly)isVisible inherited ¶ | Signal<boolean> | computed(() => this.canBeVisible() && !this.forceHide()) | True if this item is actually visible to the user Inherited from SiAutoCollapsableListItemDirective |
| size$ inherited ¶ | 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. Inherited from SiAutoCollapsableListMeasurable |
Except where otherwise noted, content on this site is licensed under MIT License.