Can anyone provide a more concrete example of a Livewire custom directive that uses the below code from docs?
Livewire.directive(directiveName, (el, directive, component) => {})
Register a new Livewire directive ( wire:custom-directive
)
Can anyone provide a more concrete example of a Livewire custom directive that uses the below code from docs?
Livewire.directive(directiveName, (el, directive, component) => {})
Register a new Livewire directive ( wire:custom-directive
)