Terribly Federated Mia on Nostr: Playing with a new pair of custom elements: <show-when> & <hide-when> They show or ...
Playing with a new pair of custom elements: <show-when> & <hide-when>
They show or hides content based on various criteria:
- url param
- url hash
- language preferences
- browser support
<show-when has-param="view=edit" hidden>Hidden by default, but shown when the url has a `?view=edit` query parameter</show-when>
They show or hides content based on various criteria:
- url param
- url hash
- language preferences
- browser support
<show-when has-param="view=edit" hidden>Hidden by default, but shown when the url has a `?view=edit` query parameter</show-when>