SiResponsiveContainerDirective documentation¶
selectorexported-as
[siResponsiveContainer]
siResponsiveContainer
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 | ||
resizeThrottle ¶ | number | 100 |
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 | |
isLg | boolean | false | Deprecated: Use lg instead. |
isMd | boolean | false | Deprecated: Use md instead. |
isSm | boolean | false | Deprecated: Use sm instead. |
isXl | boolean | false | Deprecated: Use xl instead. |
isXs | boolean | false | Deprecated: Use xs instead. |
isXxl | boolean | false | Deprecated: Use xxl instead. |
Types Documentation¶
|
|
A service wrapping ResizeObserver . This is a service for those reasons: - only one ResizeObserver should be used for performance reason. - For Angular change detection to work, explicit ngZone calls are necessary - Observable stream | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Except where otherwise noted, content on this site is licensed under MIT License.