Skip to content

Commit 6aeba2d

Browse files
mo3rfanmorloderex
authored andcommitted
Add docblocks for separator watcher prop
1 parent 41db025 commit 6aeba2d

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/vue-numeric.vue

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,13 @@ export default {
263263
})
264264
}
265265
},
266-
267-
separator(newValue, oldValue) {
266+
267+
/**
268+
* Immediately reflect separator changes
269+
* @param {String} newValue
270+
* @param {String} oldValue
271+
*/
272+
separator (newValue, oldValue) {
268273
if (newValue !== oldValue) {
269274
this.process(this.valueNumber)
270275
this.amount = this.format(this.valueNumber)

0 commit comments

Comments
 (0)