Skip to content

Support Hyperscript attribute #5

@maciejtrybilo

Description

@maciejtrybilo

Hyperscript complements HTMX nicely. It would be great to add an attribute for Hyperscript code, so e.g.

.custom(name: "_", value: "on submit trigger closeModal")

could be written something like

.hs("on submit trigger closeModal")

Presumably adding a new library analogously to https://github.com/sliemeobn/elementary-htmx.git would be most orderly even though it would just be adding one attribute?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions