Created
February 11, 2022 19:07
-
-
Save loganvolkers/a6a17b6809b46711a0580c93dac9b891 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
`<sqm-example hidden />` | |
:host([hidden]){ | |
display: none; | |
} | |
`<sqm-example show-icon />` | |
:host([show-icon]) .icon{ | |
display: block; | |
} | |
`<sqm-example />` | |
`<sqm-example />` | |
`<sqm-example />` | |
:host(:not(:last-of-type)) .icon{ | |
display: block; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment