mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor on directives
This commit is contained in:
parent
0f0c9b95b2
commit
9b9444b6b0
6 changed files with 14 additions and 10 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue