Refactor #3965 - For Directives

This commit is contained in:
Tuğçe Küçükoğlu 2023-06-23 12:34:16 +03:00
parent 1398d98615
commit 7cb1814a1d
6 changed files with 7 additions and 11 deletions

View file

@ -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) {