phoenixframework / phoenix_live_view

Rich, real-time user experiences with server-rendered HTML
https://hex.pm/packages/phoenix_live_view
MIT License
6.14k stars 921 forks source link

Support createHook for CustomElement hook integration #3433

Closed chrismccord closed 2 weeks ago

chrismccord commented 2 weeks ago

Expose programmable JS command interface to client side hooks

Add support for targetting inner and closest query selectors for JS command :to lookups.

Allow client to listen for LiveView pushes and piggy back off of the lock ref to integrate with the lock, unlock, and server acknowledgement lifecycle of a push.