@omiu/action-sheet
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

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

Package Sidebar

Install

npm i @omiu/action-sheet

Homepage

omijs.org

Weekly Downloads

3

Version

0.0.5

License

MIT

Unpacked Size

70.5 kB

Total Files

10

Last publish

Collaborators

  • dntzhang