1.0.3 • Published 2 years ago
vue3-prompt-box v1.0.3
vue3-prompt-box
Installation
npm install vue3-prompt-boxBasic Usage
Introduced in the page you want to use
import Message from 'vue3-prompt-box'Calling method
Message({ type: 'success', message: 'Login Successful!', zIndex: 1 })Attribute declaration
| Name | Description | Type | Default |
|---|---|---|---|
| type | type,default/success/warning/error | String | default |
| message | Prompt text | String | —— |
| zIndex | hierarchy | Number | 0 |