Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add $wire to directive API #8258

Merged
merged 1 commit into from
Apr 4, 2024
Merged

Add $wire to directive API #8258

merged 1 commit into from
Apr 4, 2024

Conversation

calebporzio
Copy link
Collaborator

Livewire.directive('sort', ({ el, $wire }) => {
    // Can now use $wire.on and such...
})

@calebporzio calebporzio marked this pull request as ready for review April 4, 2024 19:38
@calebporzio calebporzio merged commit a699002 into main Apr 4, 2024
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant