Divider APIs

See below to learn more about properties, slots, events, style variables, CSS parts, and methods.

There is no difference between the APIs of the elements, And the only difference is in the names of the events

Properties

Name
color
Default
undefined
Attribute
color
Reflect
true
Description

Specifies the color.

Name
inset
Type
'none' | 'start' | 'end' | 'both' | (string & {})
Default
'none'
Attribute
inset
Reflect
true
Description

Specifies the amount of indentation.

Name
orientation
Type
'horizontal' | 'vertical'
Default
'horizontal'
Attribute
orientation
Reflect
true
Description

Draws the divider in a horizontal or vertical orientation.

Name
placement
Type
'start' | 'center' | 'end'
Default
'center'
Attribute
placement
Reflect
true
Description

Specifies the location of the default slot.

Name
size
Default
'md'
Attribute
size
Reflect
true
Description

Specifies the thickness of the border.

Name
stroke
Default
'solid'
Attribute
stroke
Reflect
true
Description

Specifies the style of the border.

Name
overrides
Default
undefined
Attribute
overrides
Reflect
false
Description

Overrides default configuration for specific breakpoints. See Overrides for details.

Name
variant
Default
undefined
Attribute
variant
Reflect
true
Description

See Variant for details.

Slots

Name
default
Description

The default slot.

Events

There are no Events.

CSS Variables

Name
--plus-divider-color
Default
black
Description

Used to adjust the color.

Name
--plus-divider-size
Default
1px
Description

Used to adjust the thickness.

Name
--plus-divider-stroke
Default
solid
Description

Used to adjust the stroke.

CSS Parts

Name
line
Description

The prefix and suffix element.

Name
prefix
Description

The prefix element.

Name
suffix
Description

The suffix element.

Methods

There are no Methods.