Skip to content

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

NameTypeDefaultDescription
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

Types Documentation

import type { Breakpoints } from '@siemens/element-ng/resize-observer';
import { BOOTSTRAP_BREAKPOINTS } from '@siemens/element-ng/resize-observer';

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