Skip to content

Attribute names don't accept Alpine.js directives #135

@wyaeld

Description

@wyaeld

alpine.js has directives expressed in html attribute like

<div x-data="{ sidebarOpen: false }" @keydown.window.escape="sidebarOpen = false">

The problem is the @ prefix on the 2nd attribute. This appears to be the same as #118 which is also unresolved.

Both issues appear valid according to the html spec referenced in #118, but kotlinx.html is silently discarding them

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