Skip to content

OverflowHiddenComponent

component

This component is designed to switch the rendered content when it is overflowing due to resizing. If there is enough available space you can render the ‘real’ component. If there is not enough space to render the whole component anymore (it would overflow) another component can take it’s place. If you do not specify that replace-component, the component will just disappear and make room for other more important components.

Selector: yuv-overflow-hidden

Standalone: No

Implements: AfterViewInit, OnDestroy

Type: unknown

Default Value: contentChild.required<TemplateRef<any>>('yuvDefaultSlot')

Type: unknown

Default Value: signal<boolean>(false)

Type: unknown

Default Value: contentChild<TemplateRef<any>>('yuvOverflowSlot')