Skip to content

Convert array to data-attributes #81

Description

@TorbenKoehn

Found it here

I could imagine it like this:

div&data(['some-key' => 'some value', 'int' => 14])

resulting in

<div data-some-key="some value" data-int="14"></div>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions