mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
parent
0bdae666c4
commit
d9262ce933
28 changed files with 410 additions and 138 deletions
|
@ -17,6 +17,9 @@
|
|||
$: description = open ? translateWithId('close') : translateWithId('open');
|
||||
</script>
|
||||
|
||||
<div class={cx('--list-box__menu-icon', open && '--list-box__menu-icon--open', className)} {style}>
|
||||
<ChevronDown16 name="chevron--down" aria-label={description} title={description} />
|
||||
<div
|
||||
on:click|preventDefault|stopPropagation
|
||||
class={cx('--list-box__menu-icon', open && '--list-box__menu-icon--open', className)}
|
||||
{style}>
|
||||
<ChevronDown16 name="chevron--down" tabindex="-1" aria-label={description} title={description} />
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue