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

0.0.5 • Public • Published

Dialog

Pop anything you want in the middle of the page

Import

import '@omiu/dialog'

Or use script tag to ref it.

<script src="https://unpkg.com/@omiu/dialog"></script>

Usage

<o-dialog></o-dialog>

API

Props

{
  visible: boolean
  title: String
  width: String
}

默认属性

{
  visible: false,
  width: '50%'
}

Events

  • open
  • mask-click
  • close

Package Sidebar

Install

npm i @omiu/dialog

Homepage

omijs.org

Weekly Downloads

0

Version

0.0.5

License

MIT

Unpacked Size

41.5 kB

Total Files

7

Last publish

Collaborators

  • dntzhang