New to Kendo UI for Vue? Start a free 30-day trial

ActionSheet

Component

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:

vue
<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.

Default:

true

Sets the duration of the opening and closing animation in milliseconds.

Default:

300

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.

Sets additional CSS classes to the element that wraps the content section of the ActionSheet.

expand?

boolean

Sets if the ActionSheet is open.

string | Function

Sets a custom template for the footer of the ActionSheet. Pass the name of a slot or a render function.

Sets additional CSS classes to the element that wraps the footer section of the ActionSheet.

string | Function

Sets a custom template for the header of the ActionSheet. Pass the name of a slot or a render function.

Sets additional CSS classes to the element that wraps the header section of the ActionSheet.

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.

Sets if the user can navigate the ActionSheet with the keyboard.

Default:

true

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.

Default:

[]

onClose?

(event: any) => void

Fires when the user clicks the modal overlay or presses Escape.

Parameters:eventany

onItemselect?

(event: { syntheticEvent: any; title?: string; item?: any }) => void

Fires when the user selects an ActionSheet item.

Parameters:event{ syntheticEvent: any; title?: string; item?: any }

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.

Default:

0

title?

string

Sets the title of the ActionSheet. The ActionSheet uses this text as its accessible name.