ActionSheet
Mobile pop-up options list
Import
import '@omiu/action-sheet'
Or use script tag to ref it.
<script src="https://unpkg.com/@omiu/action-sheet"></script>
Usage
<o-action-sheet></o-action-sheet>
API
Props
{
type: string,
menus: any[],
actions: any[],
show: boolean
}
默认属性
{
type: '',
menus: [],
actions: [],
show: false
}
Events
- item-click
- close