1.1.1 • Published 11 months ago
@equinor/fusion-wc-ripple v1.1.1
fusion-wc-ripple

Installation
npm install @equinor/fusion-wc-ripple
Ripple <fwc-ripple>
Properties/Attributes
Name | Type | Default | Description |
---|---|---|---|
primary | boolean | false | When true, sets the ripple color to --mdc-theme-primary . Will be overridden by --mdc-ripple-color if set. |
accent | boolean | false | When true, sets the ripple color to --mdc-theme-secondary . Will be overridden by --mdc-ripple-color if set. |
unbounded | boolean | false | When true, the ripple will flow outside the component in a circle. |
activated | boolean | false | Set true when the container of the ripple should be in an activated state. |
selected | boolean | false | Set true when the container of the ripple should be in a selected state. |
disabled | boolean | false | Set true to disable the ripple when the container of the ripple is disabled. |
Methods
Name | Description |
---|---|
startPress(event?: Event) => void | Begin the press state of the ripple. Optional Event will be used to determine the beginning coordinates of the ripple animation when unbounded is false. |
endPress() => void | End the press state of the ripple. |
startFocus() => void | Begin the focus state of the ripple. |
endFocus() => void | End the focus state of the ripple. |
startHover() => void | Begin the hover state of the ripple. |
endHover() => void | End the hover state of the ripple. |
1.1.1
11 months ago
1.1.0
2 years ago
1.0.0
2 years ago
0.2.21
2 years ago
0.2.20
2 years ago
0.2.20-next.0
2 years ago
0.2.20-next.1
2 years ago
0.2.19
2 years ago
0.2.18
2 years ago
0.2.17
2 years ago
0.2.16
3 years ago
0.2.15
3 years ago
0.2.14
3 years ago
0.2.13
3 years ago
0.2.12
3 years ago
0.2.11
3 years ago
0.2.10
3 years ago
0.2.9
3 years ago
0.2.8
3 years ago
0.2.7
4 years ago
0.2.6
4 years ago
0.2.5
4 years ago
0.2.3
4 years ago
0.2.2
4 years ago
0.2.1
4 years ago
0.2.0
4 years ago