StateBindingCascader - nod handling onChange
This commit is contained in:
parent
0c2d7a7c66
commit
b272174270
|
@ -28,7 +28,7 @@
|
||||||
{/each}
|
{/each}
|
||||||
</select>
|
</select>
|
||||||
{:else}
|
{:else}
|
||||||
<Input on:change={onChange} value={parameter.value} />
|
<Input onChange={onChange} value={parameter.value} />
|
||||||
<button on:click={() => (isOpen = !isOpen)}>
|
<button on:click={() => (isOpen = !isOpen)}>
|
||||||
<div class="icon" style={`transform: rotate(${isOpen ? 0 : 90}deg);`}>
|
<div class="icon" style={`transform: rotate(${isOpen ? 0 : 90}deg);`}>
|
||||||
<ArrowDownIcon size={36} />
|
<ArrowDownIcon size={36} />
|
||||||
|
|
Loading…
Reference in New Issue