4.0.0 • Published 1 year ago
nanometer-message v4.0.0
English | 简体中文
- Easy to use
- Better message prompt, built-in four scenarios, support the use of custom
- Add to your UI library for refinement
Install with pnpm:
pnpm add nanometer-message
- Similar to script:
<script src="./nanometer-message/index-umd.js"></script>
Vue.prototype.$meessage = Message
- COMMON ant ES6:
import message from "nanometer-message"
<link rel="stylesheet" type="text/css" href="dist/index.css" />
Message({option}) A separate method is defined for each type,example: Message.success(options)。
- Similar to VUE2.X:
import "nanometer-message/dist/index.css"
import message from "nanometer-message"
Vue.prototype.$meessage = Message
- The pattern of object customization has been added. The previous way of use remains the same, which requires more flexible use of option
Name | Description | |||
---|---|---|---|---|
type | The current state of the message. [success | warning | info | error] |
durationTime | ( animationDuration abandoned ,Use this instead) Buffer animation duration(The default for 3 seconds) | |||
calss | ( egoClass abandoned,Use this instead) CSS state customization | |||
content | ( context abandoned,Use this instead ) Message content.Please note: this is a must | |||
postEvent | (destroy abandoned,Use this instead ) A callback after the message has disappeared |
3.3.0
1 year ago
3.2.1
1 year ago
3.2.0
1 year ago
3.1.0
1 year ago
3.0.0
1 year ago
4.0.0
1 year ago
2.2.3
1 year ago
2.2.2
2 years ago
2.2.1
2 years ago
2.0.3
2 years ago
2.2.0
2 years ago
2.1.1
2 years ago
2.0.2
2 years ago
2.1.0
2 years ago
2.0.1
2 years ago
2.0.0
2 years ago
1.5.0
5 years ago
1.4.6
5 years ago
1.4.4
5 years ago
1.4.3
5 years ago
1.4.2
5 years ago
1.4.1
5 years ago
1.4.0
5 years ago
1.3.0
5 years ago
1.2.1
5 years ago
1.2.0
5 years ago
1.1.3
5 years ago
1.1.2
5 years ago
1.1.1
5 years ago
1.1.0
5 years ago
1.0.12
5 years ago
1.0.11
5 years ago
1.0.10
5 years ago
1.0.9
5 years ago
1.0.8
5 years ago
1.0.7
5 years ago
1.0.6
5 years ago
1.0.5
5 years ago
1.0.4
5 years ago
1.0.3
5 years ago
1.0.0
5 years ago