DrawerProps
The properties of the Kendo UI for Vue Drawer component.
Definition
Package:@progress/kendo-vue-layout
Properties
animation?
boolean | DrawerAnimation
Specifies the animation settings of the Drawer. If boolean enables or disables the default animation. Use DrawerAnimation to set slide animation with customizable duration option. Accepts a number in milliseconds.
dir?
string
Represents the dir HTML attribute. This is used to switch from LTR to RTL.
expanded?
boolean
Specifies the state of the Drawer. Defaults to false (see example).
item?
any
Overrides the default component responsible for visualizing a single item (see example).
The default Component is: DrawerItem.
The collection of items that will be rendered in the Drawer (see example).
mini?
boolean
Enables the mini (compact) view of the Drawer which is displayed when the component is collapsed (see example)).
miniWidth?
number
Defines the width of the Drawer when the mini view is enabled and the component is collapsed. Defaults to 50.
mode?
string
Specifies the mode in which the Drawer will be displayed.
The possible values are overlay and push.
Defaults to overlay (see example).
navigationContent?
Object | Function | String
Provides the option to define a custom template inside the navigational section of the Drawer component (see example). When defined, the custom template will override the default DrawerItem rendering. By default, the property is not defined.
navigationFooter?
Object | Function | String
Provides the option to define a footer in the Drawer component (see example).
The footer is rendered below the Drawer Items. By default, the property is not defined.
navigationHeader?
Object | Function | String
Provides the option to define a header in the Drawer component (see example).
The header is rendered above the Drawer Items. By default, the property is not defined.
onOverlayclick?
(event: any) => void
The event handler that will be fired when the overlay is clicked. Used in overlay mode only.
onSelect?
(event: DrawerSelectEvent) => void
Fires when a Drawer item is selected.
position?
string
Specifies the position of the Drawer.
The possible values are start and end (see example).
tabIndex?
number
Sets the tabIndex property of the Drawer.
width?
number
Defines the width of the Drawer when it is expanded. Defaults to 240.