mirror of https://github.com/sveltejs/svelte
use CSS classes for ref:* selectors (#1230)
parent
9e52cf931d
commit
2b3e9a3523
@ -1 +1 @@
|
||||
[svelte-ref-button].active.svelte-xyz{color:red}
|
||||
.svelte-ref-button.active.svelte-xyz{color:red}
|
@ -1 +1 @@
|
||||
<button svelte-ref-button="" class="active svelte-xyz">deactivate</button>
|
||||
<button class="active svelte-xyz svelte-ref-button">deactivate</button>
|
@ -1 +1 @@
|
||||
[svelte-ref-a].svelte-xyz{color:red}[svelte-ref-b].svelte-xyz{color:green}
|
||||
.svelte-ref-a.svelte-xyz{color:red}.svelte-ref-b.svelte-xyz{color:green}
|
@ -1,3 +1,3 @@
|
||||
<div class="svelte-xyz" svelte-ref-a=''></div>
|
||||
<div class="svelte-xyz" svelte-ref-b=''></div>
|
||||
<div class="svelte-xyz svelte-ref-a"></div>
|
||||
<div class="svelte-xyz svelte-ref-b"></div>
|
||||
<div></div>
|
Loading…
Reference in new issue