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

Custom Actions: Export StreamActions module #479

Merged
merged 1 commit into from
Jul 18, 2022

Commits on Jul 18, 2022

  1. Custom Actions: Export StreamActions module

    Closes hotwired#478
    Closes hotwired#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`.
    seanpdoyle committed Jul 18, 2022
    Configuration menu
    Copy the full SHA
    abae079 View commit details
    Browse the repository at this point in the history