Sticky

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
top
TypeDefault
0
Default
0
Attribute
top
Reflect
false
Description
Name
watcher
Type
boolean
Default
undefined
Default
undefined
Attribute
watcher
Reflect
false
Description
Name
zIndex
Type
number
Default
undefined
Default
undefined
Attribute
z-index
Reflect
false
Description

Slots

Name
default
Description
Name
normal
Description
Name
stick
Description

Events

Name
plus-change
TypeCancelable
false
Description

CSS Variables

There are no CSS Variables.

CSS Parts

There are no CSS Parts.

Methods

There are no Methods.