We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c48cc96 commit ed28113Copy full SHA for ed28113
src/index.js
@@ -5,15 +5,15 @@ import { OPTIONS } from './constants'
5
export default function install (Vue, options = {}, router = null) {
6
options = {...OPTIONS, ...options}
7
8
- Vue.use(VueForceNextTick);
+ Vue.use(VueForceNextTick)
9
Vue.component('VueAnnouncer', VueAnnouncer)
10
Vue.prototype.$announcer = {
11
set (message) {
12
if (this.data) {
13
this.data.content = ''
14
Vue.$forceNextTick(() => {
15
- this.data.content = message
16
- })
+ this.data.content = message
+ })
17
}
18
},
19
0 commit comments