Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Vue.component('date-picker', {
- template: '<input/>',
- props: [ 'dateFormat' ],
- mounted: function() {
- $(this.$el).datepicker({
- dateFormat: this.dateFormat
- });
- },
- beforeDestroy: function() { ... }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement