SiResponsiveContainerDirective documentation¶
import { SiResponsiveContainerDirective } from '@siemens/element-ng/resize-observer'; Directive to automatically set si-container-* classes so Bootstrap column classes work in the context of the container instead of viewport size.
Input Properties¶
| Name | Type | Default | Description |
|---|---|---|---|
| breakpoints ¶ | Breakpoints | undefined | BOOTSTRAP_BREAKPOINTS | Width thresholds used to assign responsive container classes. |
| resizeThrottle ¶ | number | 100 | Minimum time in milliseconds between resize observations. |
Attributes and Methods¶
| Name | Type | Default | Description |
|---|---|---|---|
| (readonly)lg ¶ | WritableSignal<boolean> | false | |
| (readonly)md ¶ | WritableSignal<boolean> | false | |
| (readonly)sm ¶ | WritableSignal<boolean> | false | |
| (readonly)xl ¶ | WritableSignal<boolean> | false | |
| (readonly)xs ¶ | WritableSignal<boolean> | false | |
| (readonly)xxl ¶ | WritableSignal<boolean> | false |
Types Documentation¶
import { BOOTSTRAP_BREAKPOINTS } from '@siemens/element-ng/resize-observer';
Except where otherwise noted, content on this site is licensed under MIT License.