Skip to content

_data documentation note #17

Open
Open
@jamesdbrock

Description

@jamesdbrock

The _data :: Object String fields of the Props records are for HTML data attributes. The data- prefix will be added to the attribute, so for example

div' { _data: singleton "name" "value" }

will render as

<div data-name="value" />

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