Skip to content

@byContent should have a default functionality when no parameters are passed #10

@visomar

Description

@visomar

Like the @byAttrVal annotation, when no parameters are passed, there is a default behaviour (in that case, matching the attribute with the same name of the property).

When I use @byContent without parameters, @byContent(), I expect a list of nodes, or a node (like a React.Fragment) wrapping everything inside the web component, maybe like the normal this.props.children property.

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