Skip to content

Add automatic data attribute settings inside patternify func #13

@bumbeishvili

Description

@bumbeishvili

If corresponding data contains properties which start with
data-*
and values are strings or numbers, then we should automatically assign data properties to the corresponding dom elements with corresponding values

so if data is

{
   "name":"test",
   "data-name":"test",
}

corresponding dom elements would have data-name="test" attribute

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions