ActionSheet
Represents the Kendo UI for Vue ActionSheet component. Use the ActionSheet to show a list of actions that slides in from the bottom of the screen.
Definition
Package:@progress/kendo-vue-layout
Properties Interface:ActionSheetProps
Syntax:
<ActionSheet
:expand="expanded"
:title="'Share order'"
:sub-title="'Order #10248'"
:items="[
{ title: 'Email', description: 'Send the invoice by email' },
{ title: 'Print', description: 'Print the packing slip' },
{ title: 'Cancel', group: 'bottom' }
]"
@itemselect="onItemSelect"
@close="expanded = false"
/>
Properties
animation?
boolean
Enables the opening and closing animation of the ActionSheet.
true
animationDuration?
number
Sets the duration of the opening and closing animation in milliseconds.
300
className?
string
Sets additional CSS classes to the inner ActionSheet element.
content?
string | Function
Sets a custom template for the content of the ActionSheet. Pass the name of a slot or a render function.
contentClassName?
string
Sets additional CSS classes to the element that wraps the content section of the ActionSheet.
expand?
boolean
Sets if the ActionSheet is open.
footer?
string | Function
Sets a custom template for the footer of the ActionSheet. Pass the name of a slot or a render function.
footerClassName?
string
Sets additional CSS classes to the element that wraps the footer section of the ActionSheet.
header?
string | Function
Sets a custom template for the header of the ActionSheet. Pass the name of a slot or a render function.
headerClassName?
string
Sets additional CSS classes to the element that wraps the header section of the ActionSheet.
headerStyle?
string
Sets additional CSS styles to the element that wraps the header section of the ActionSheet.
item?
string | Function
Sets a custom template for the items of the ActionSheet. Pass the name of a slot or a render function.
Sets the collection of items that the ActionSheet renders.
navigatable?
boolean
Sets if the user can navigate the ActionSheet with the keyboard.
true
navigatableElements?
string[]
Sets the CSS selectors of the elements inside the ActionSheet templates that the user can reach with the keyboard. When you set this property, the ActionSheet focuses the first matching element when it opens.
[]
onClose?
(event: any) => void
Fires when the user clicks the modal overlay or presses Escape.
onItemselect?
(event: { syntheticEvent: any; title?: string; item?: any }) => void
Fires when the user selects an ActionSheet item.
subTitle?
string
Sets the text that the ActionSheet renders under the title. The ActionSheet uses this text as part of its accessible name.
tabIndex?
number
Sets the tabIndex of the ActionSheet items and focusable elements.
0
title?
string
Sets the title of the ActionSheet. The ActionSheet uses this text as its accessible name.