Refactor on directives

This commit is contained in:
mertsincan 2023-07-07 13:00:11 +01:00
parent 0f0c9b95b2
commit 9b9444b6b0
6 changed files with 14 additions and 10 deletions

View file

@ -3,6 +3,8 @@ import BaseStyleClass from './BaseStyleClass';
const StyleClass = BaseStyleClass.extend('styleclass', {
mounted(el, binding) {
el.setAttribute('data-pd-styleclass', true);
this.bind(el, binding);
},
unmounted(el) {