Skip to content

Use type provider for nodes with identifiers #15

@tindzk

Description

@tindzk

We could make nodes with IDs accessible as follows:

val root = html("test.html")
val div = root.ids.text  // instead of: tpl.byId[tag.div]("text")

Type providers are an option, but are not well-supported by IDEs.

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