omi/components/to
dntzhang d676dc118c feat: init omiu to element 2020-05-03 10:12:28 +08:00
..
demos/js-demo feat: init omiu to element 2020-05-03 10:12:28 +08:00
scripts feat: init omiu to element 2020-05-03 10:12:28 +08:00
src feat: init omiu to element 2020-05-03 10:12:28 +08:00
README.md feat: init omiu to element 2020-05-03 10:12:28 +08:00
package.json feat: init omiu to element 2020-05-03 10:12:28 +08:00
tsconfig.json feat: init omiu to element 2020-05-03 10:12:28 +08:00

README.md

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