mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
parent
ba2e77eb47
commit
6ca6af94eb
3 changed files with 14 additions and 2 deletions
|
@ -177,7 +177,7 @@
|
|||
class:bx--tooltip--a11y={true}
|
||||
class="{tooltipPosition && `bx--tooltip--${tooltipPosition}`}
|
||||
{tooltipAlignment && `bx--tooltip--align-${tooltipAlignment}`}"
|
||||
on:click={() => {
|
||||
on:click|stopPropagation={() => {
|
||||
type = type === 'password' ? 'text' : 'password';
|
||||
}}>
|
||||
<span class:bx--assistive-text={true}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue