VSideDrawer
Props
Name | Type | Description |
---|---|---|
aria-current | Enum:page step location date time true false | Indicates the element that represents the current item within a container or set of related elements. |
alternate | boolean | applies scheme alternate region |
modal | boolean | sets the side drawer's type to modal |
open | boolean | indicates whether the side drawer is open |
trailing | boolean | sets the side of the side drawer |
Events
Name | Event Type | Description |
---|---|---|
click | MouseEvent | Fires when a pointing device button (such as a mouse's primary mouse button) is both pressed and released while the pointer is located inside the element. |
focus | FocusEvent | Fires when the element receives focus. |
blur | FocusEvent | Fires when the element loses focus. |
keydown | KeyboardEvent | Fires when a key is pressed. |
keyup | KeyboardEvent | Fires when a key is released. |
input | Event | Fires when the value of an element has been changed. |
close | CustomEvent<undefined> | Fired when the side drawer is closed. |
open | CustomEvent<undefined> | Fired when the side drawer is opened. |
cancel | CustomEvent<undefined> | Fired when the user requests to close the side-drawer. You can prevent the side drawer from closing by calling .preventDefault() on the event. |
Slots
Name | Description |
---|---|
default | Sets assigned nodes to the side drawer itself. |
app-content | Sets assigned nodes to the main application content, the side drawer is opened next to. |