2.46.0 • Published 8 months ago
@vonage/vwc-side-drawer v2.46.0
vwc-side-drawer
Represents a side drawer custom element.
Properties
Property | Attribute | Type | Default |
---|---|---|---|
alternate | alternate | boolean | false |
hasTopBar | hasTopBar | boolean \| undefined | |
modal | modal | boolean | false |
open | open | boolean | false |
position | position | "start" \| "end" \| undefined |
Methods
Method | Type | Description |
---|---|---|
hide | (): void | Closes the side drawer from the open state. |
show | (): void | Opens the side drawer from the closed state. |
CSS Custom Properties
Property | Default | Description |
---|---|---|
side-drawer-background-color | "Current theme's canvas (background) color" | Controls the background of the side drawer |
side-drawer-color | "Current theme's on-canvas (text) color" | Controls the color of the side drawer |
side-drawer-inline-size | "280px" | Controls the inline size of the side drawer |
side-drawer-padding-body | "16px" | Controls the padding of the side drawer's body |
side-drawer-padding-top-bar | "16px" | Controls the padding of the side drawer's top bar |
side-drawer-z-index | 6 | Controls the z-index of the side drawer |
2.46.0
8 months ago
2.45.0
1 year ago
2.43.0
2 years ago
2.43.2
2 years ago
2.43.1
2 years ago
2.44.0
2 years ago
2.41.0
2 years ago
2.42.0
2 years ago
2.38.0
2 years ago
2.39.1
2 years ago
2.39.0
2 years ago
2.37.2
2 years ago
2.40.0
2 years ago
2.36.3
3 years ago
2.36.2
3 years ago
2.37.0
3 years ago
2.36.0
3 years ago
2.36.1
3 years ago
2.35.0
3 years ago
2.32.0
3 years ago
2.31.0
3 years ago
2.34.0
3 years ago
2.33.1
3 years ago
2.33.0
3 years ago
2.34.1
3 years ago
2.29.0
3 years ago
2.28.1
3 years ago
2.28.0
3 years ago
2.28.2
3 years ago
2.30.2
3 years ago
2.30.1
3 years ago
2.30.3
3 years ago
2.30.0
3 years ago
2.27.1
3 years ago
2.27.0
3 years ago
2.26.0
3 years ago
2.25.10
3 years ago
2.25.9
3 years ago
2.25.8
3 years ago
2.25.7
3 years ago
2.25.6
3 years ago
2.25.5
3 years ago
2.25.3
3 years ago
2.25.2
3 years ago
2.25.1
3 years ago
2.25.0
3 years ago
2.24.1
4 years ago
2.24.0
4 years ago
2.23.0
4 years ago
2.22.1
4 years ago
2.22.0
4 years ago
2.21.1
4 years ago
2.21.0
4 years ago
2.20.1
4 years ago
2.20.0
4 years ago
2.19.0
4 years ago
2.18.1
4 years ago
2.18.0
4 years ago
2.17.0
4 years ago