Skip to content

Document optional attributes #182

@doonv

Description

@doonv

I wanted to add a checked attribute to an element based on a boolean in an rsx! macro. But I couldn't find any documentation on optional attributes in the docs. Eventually I did find you can add checked[my_bool] to do it by trial and error, but I'd appreciate it if was easier to figure this out.

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