-
Notifications
You must be signed in to change notification settings - Fork 425
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Custom Actions: Export
StreamActions
module
Closes #478 Closes #477 As an alternative to continuing to introduce support for more varied and specialized `<turbo-stream action="...">` values, this commit exports the `StreamActions` module from the root-module in order to provide applications with direct access. Applications can add new actions or override existing actions, so long as they adhere to the `StreamAction` interface: a function whose `this` context is an instance of `StreamElement`.
- Loading branch information
1 parent
1811189
commit 5020760
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters