# Events ```html ``` ```js export default { data() { return { datetime: 891360258000, date: null, datetimerange: [324910284, 910391323], daterange: [324910284, 910391323], disabled: false }; }, methods: { onBlur1 (v) { this.$NMessage.info('Blur-1 ' + v) }, onChange1 (v) { this.$NMessage.info('Change-1 ' + v) }, onBlur2 (v) { this.$NMessage.error('Blur-2 ' + v) }, onChange2 (v) { this.$NMessage.error('Change-2 ' + v) }, onBlur3 (v) { this.$NMessage.warning('Blur-3 ' + v) }, onChange3 (v) { this.$NMessage.warning('Change-3 ' + v) }, onBlur4 (v) { this.$NMessage.success('Blur-4 ' + v) }, onChange4 (v) { this.$NMessage.success('Change-4 ' + v) } } }; ``` ```css .n-date-picker { margin: 0 12px 8px 0; } ```