Ein Divider ist eine Trennlinie. Er grenzt Inhalte oder Abschnitte visuell voneinander ab. Er ist horizontal oder vertikal möglich.
Le web component se trouve dans le paquet @sbb-esta/lyne-elements.
The <sbb-divider> is used to visually divide sections.
Based on the orientation property, the <sbb-divider> can be displayed vertically or horizontally.
It's also possible to display the component in negative variant using the self-named property.
<sbb-divider orientation="vertical"></sbb-divider>
<sbb-divider negative></sbb-divider>
Ce composant est également disponible pour Angular dans le paquet @sbb-esta/lyne-angular.
SbbDividerElement, sbb-divider.| Name | Attribute | Privacy | Type | Default | Description |
|---|---|---|---|---|---|
negative | negative | public | boolean | false | Negative coloring variant flag. |
orientation | orientation | public | 'horizontal' | 'vertical' | 'horizontal' | Orientation property with possible values 'horizontal' | 'vertical'. Defaults to horizontal. |