Skip to content
This repository was archived by the owner on Oct 19, 2018. It is now read-only.
This repository was archived by the owner on Oct 19, 2018. It is now read-only.

Comp('data-foo-bar' => 12, 'data-baz-woggle' => "strng") can be shortened #93

@catmando

Description

@catmando

the following works with data and aria tags:

Comp('data-foo-bar' => 12, 'data-baz-woggle' => "strng")
can be written as
Comp(data: {foo_bar: 12, baz_woggle: "strng")

In otherwords data attributes can be provided as a hash, and snake case will be dasherized automatically.

Also works with aria attributes

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions