Sticky 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
disabled
Type
boolean
Default
undefined
Attribute
disabled
Reflect
true
Description

Disables the element functionality.

Name
top
Type
string | number
Default
0
Attribute
top
Reflect
false
Description

Specifies the space from top.

Name
watcher
Type
boolean
Default
undefined
Attribute
watcher
Reflect
false
Description

To active state attribute, change event, normal slot, or stick slot, Set it to true.

Name
zIndex
Type
number
Default
undefined
Attribute
z-index
Reflect
false
Description

Specifies the z-index.

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.

Name
normal
Description

Activated when the state becomes normal. To enable, set the watcher property to true.

Name
stick
Description

Activated when the state becomes stick. To enable, set the watcher property to true.

Events

Name
plus-change
Cancelable
false
Description

Fires when the state is changed. To enable, set the watcher property to true.

CSS Variables

There are no CSS Variables.

CSS Parts

There are no CSS Parts.

Methods

There are no Methods.