AM
widget.$on("click", someFunc);
Size: a a a
AM
widget.$on("click", someFunc);
A
widget.$on("click", someFunc);
МТ
PM
AP
AP
AP
11
а там где компонент используется без свелта
<div class="test">
<p>test</p>
</div>
<style>
.test { font-family: Consolas; }
p { color: green; }
</style>
.test.test p {color: blue;}либо
body .test p {color: red;}
AP
а там где компонент используется без свелта
<div class="test">
<p>test</p>
</div>
<style>
.test { font-family: Consolas; }
p { color: green; }
</style>
.test.test p {color: blue;}либо
body .test p {color: red;}
AP
AP
11
<body id='antisvelte'>и тогда
#antisvelte .test p {}передавит любое осмысленное количество селекторов по классу. про осмысленность мы уже как-то дискутировали :)
AP
AP
AP
AP
11
КС
AP