Skip to content

Support same name for Attribute and AttributeNamespace #159

@adamjhf

Description

@adamjhf

The Alpine.js Sort plugin uses x-sort as a directive on a parent element, but also x-sort as a name space on list items, e.g.:

<ul x-sort>
    <li x-sort:item>foo</li>
    <li x-sort:item>bar</li>
    <li x-sort:item>baz</li>
</ul>

Currently it does not seem possible in hypertext to define an Attribute and an AttributeNamespace with the same name in GlobalAttributes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions