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

@ -121,7 +121,7 @@ const FocusTrap = BaseDirective.extend('focustrap', {
el.setAttribute('data-pc-section', 'root');
el.setAttribute('data-pc-name', 'focustrap');
BaseDirective.directiveElement = el;
el.$pEl = el;
BaseDirective.handleCSS('focustrap', el, binding);
},