SAML; Dashboard
This commit is contained in:
@@ -32,6 +32,18 @@ export default class VuES6Loader {
|
||||
watch,
|
||||
methods,
|
||||
template: ComponentClass.template,
|
||||
created: function() {
|
||||
if ( typeof this.vue_on_create === 'function' ) this.vue_on_create()
|
||||
},
|
||||
updated: function() {
|
||||
if ( typeof this.vue_on_update === 'function' ) this.vue_on_update()
|
||||
},
|
||||
mounted: function() {
|
||||
if ( typeof this.vue_on_mount === 'function' ) this.vue_on_mount()
|
||||
},
|
||||
destroyed: function() {
|
||||
if ( typeof this.vue_on_destroy === 'function' ) this.vue_on_destroy()
|
||||
},
|
||||
})
|
||||
}
|
||||
}
|
||||
@@ -41,5 +53,10 @@ export class Component {
|
||||
static get selector() { return '' }
|
||||
static get template() { return '' }
|
||||
static get props() { return [] }
|
||||
|
||||
vue_on_create() {}
|
||||
vue_on_update() {}
|
||||
vue_on_mount() {}
|
||||
vue_on_destroy() {}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user