Closed heygambo closed 7 years ago
This just moves both closePicker and redraw into the same methods key.
closePicker
redraw
methods
before
methods: { closePicker () { this.datepicker && this.datepicker.close() } }, methods: { redraw(newConfig) { this.datepicker.config = Object.assign(this.datepicker.config, newConfig) this.datepicker.redraw() this.datepicker.jumpToDate() } },
after
methods: { closePicker () { this.datepicker && this.datepicker.close() }, redraw(newConfig) { this.datepicker.config = Object.assign(this.datepicker.config, newConfig) this.datepicker.redraw() this.datepicker.jumpToDate() } },
Thanks! merged.
This just moves both
closePicker
andredraw
into the samemethods
key.before
after