Skip to content

Add CableReady delegate and self-initialize#6

Merged
julianrubisch merged 3 commits intomainfrom
auto-initialize
Jul 14, 2023
Merged

Add CableReady delegate and self-initialize#6
julianrubisch merged 3 commits intomainfrom
auto-initialize

Conversation

@julianrubisch
Copy link
Collaborator

@julianrubisch julianrubisch commented May 16, 2023

Adds a CableReady devtool delegate in the appropriate folder, and initializes it when window.CableReady is present (which is the case when CR is started)

this means that the devtool package will have to be imported last, due to the side effect, but I can live with that...

Also - consider what this architecture enables. Next we can probably move the elements delegate here, then develop one for Turbo Frames, etc... basically any element we want to cater for.

depends on stimulusreflex/cable_ready#276

@julianrubisch julianrubisch marked this pull request as ready for review July 7, 2023 10:21
@julianrubisch julianrubisch requested a review from hopsoft July 7, 2023 10:21
@julianrubisch julianrubisch merged commit 767e15b into main Jul 14, 2023
@julianrubisch julianrubisch deleted the auto-initialize branch July 14, 2023 17:22
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.

2 participants