omi/components/select
dntzhang 388c95af20 feat(@omiu/select): support size prop 2020-05-14 09:19:38 +08:00
..
demos/js-demo feat(@omiu/select): support size prop 2020-05-14 09:19:38 +08:00
scripts chore: init o-select 2020-05-04 16:33:43 +08:00
src feat(@omiu/select): support size prop 2020-05-14 09:19:38 +08:00
README.md chore: init o-select 2020-05-04 16:33:43 +08:00
package.json chore: init o-select 2020-05-04 16:33:43 +08:00
tsconfig.json chore: init o-select 2020-05-04 16:33:43 +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