652 B
652 B
#### åēæŦ
æįŽåį፿ŗīŧ4.5 į§åčĒå¨å
ŗéã
#### Basic
The simplest usage that close the notification box after 4.5s.
<template>
<a-button type="primary" @click="openNotification">Open the notification box</a-button>
</template>
<script>
import { notification } from 'antd'
export default {
methods: {
openNotification () {
notification.open({
message: 'Notification Title',
description: 'This is the content of the notification. This is the content of the notification. This is the content of the notification.',
});
},
}
}
</script>