Skip to content
angulux
@anguless/angulux/divider

Divider

1 declaration3 demosdivider.md
import
import { DividerModule } from '@anguless/angulux/divider';

Basic

A divider goes between the items it separates.

Divider separates the items placed around it.

The default layout is horizontal and the default type is solid.

<div style="width: 100%">    <p>Divider separates the items placed around it.</p>    <agl-divider />    <p>The default layout is horizontal and the default type is solid.</p></div>

Type

Type switches the border style between solid, dashed and dotted.

Solid

Dashed

Dotted

<div style="width: 100%">    <p>Solid</p>    <agl-divider />    <p>Dashed</p>    <agl-divider type="dashed" />    <p>Dotted</p>    <agl-divider type="dotted" /></div>

Vertical

A vertical divider separates items placed side by side.

Left

Right

<div style="display: flex; align-items: center; height: 6rem">    <p>Left</p>    <agl-divider layout="vertical" />    <p>Right</p></div>

API

Generated from the committed corpus, which check:corpus holds to the built library.

Divider

componentagl-divider

Divider is used to separate contents.

InputTypeDefaultDescription
styleClass
deprecated — since v20.0.0, use `class` instead.
string | undefinednot documentedStyle class of the component.
layout'horizontal' | 'vertical' | undefinednot documentedSpecifies the orientation.
type'solid' | 'dashed' | 'dotted' | undefinednot documentedBorder style type.
align'left' | 'center' | 'right' | 'top' | 'bottom' | undefinednot documentedAlignment of the content.

Inherited from BaseComponent

inherited
InputTypeDefaultDescription
dtObject | undefined undefined Defines scoped design tokens of the component.
unstyledboolean | undefined undefined Indicates whether the component should be rendered without styles.
ptPT | undefined undefined Used to pass attributes to DOM elements inside the component. Keys become attributes, and a key that names a DOM property is also assigned to that property. Values the browser would execute go through Angular's sanitizer first, as in a template binding: markup in `innerHTML`, `outerHTML` and `srcdoc`, and URLs in `href`, `src`, `action`, `formaction` and `xlink:href`. To write one of those unsanitized on purpose, pass a `DomSanitizer.bypassSecurityTrustHtml` or `bypassSecurityTrustUrl` value. An `on*` key must be a function, and any other value for it is ignored. Keys themselves are applied as given, so let data from users choose values, never keys.
ptOptionsPassThroughOptions | undefined undefined Used to configure passthrough(pt) options of the component.