mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-08 16:37:15 +00:00
Refactor #3965 - For Directives
This commit is contained in:
parent
1398d98615
commit
7cb1814a1d
6 changed files with 7 additions and 11 deletions
|
@ -4,7 +4,7 @@ import { DomHandler } from 'primevue/utils';
|
|||
function bind(el, binding) {
|
||||
const target = resolveTarget(el, binding);
|
||||
|
||||
BaseDirective.directiveElement = target;
|
||||
el.$pEl = target;
|
||||
|
||||
el.$_pstyleclass_clicklistener = () => {
|
||||
if (binding.value.toggleClass) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue