Skip to content

Support conditional toggles on absence of a setting #233

@damithc

Description

@damithc

Current: We can show an element based on the presence of a placeholder. e.g.,
<cv-toggle placeholder-id="username">Welcome, alice!</cv-toggle>

Suggested: Support conditional toggling based on absence of the placeholder as well (i.e., support an else branch).
e.g., <cv-toggle placeholder-id="!username">Welcome, stranger!</cv-toggle> (in this case, using ! for negation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    p.lowGood to have at this point of time

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions