Drawer Toggler 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
connector
Type
string
Default
undefined
Attribute
connector
Reflect
false
Description

This property helps you to attach which drawer this toggler controls. It doesn't matter where the drawer toggler is. You can put the drawer's toggler inside or outside of the drawer. Read more about connectors here.

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
open
Description

Specifies the content of toggler when it's opened.

Name
close
Description

Specifies the content of toggler when it's closed.

Events

There are no Events.

CSS Variables

There are no CSS Variables.

CSS Parts

There are no CSS Parts.

Methods

There are no Methods.