public class WavesSupport extends Object implements HasWaveEffect<WavesSupport>
| Modifier and Type | Method and Description |
|---|---|
static WavesSupport |
addFor(HasWavesElement element)
Adds waves support for a specific element
|
static WavesSupport |
addFor(elemental2.dom.HTMLElement element)
Adds waves support for a specific element
|
WavesSupport |
applyWaveStyle(WaveStyle waveStyle)
Applies the waves style
|
WavesSupport |
initWaves()
Initializes the waves functionality
|
WavesSupport |
removeWaves()
Removes the waves support
|
WavesSupport |
setWaveColor(WaveColor waveColor)
Sets the color of the waves
|
WavesSupport |
setWavesColor(WaveColor waveColor)
Deprecated.
|
public static WavesSupport addFor(HasWavesElement element)
element - the HasWavesElementpublic static WavesSupport addFor(elemental2.dom.HTMLElement element)
element - the HTMLElementpublic WavesSupport initWaves()
initWaves in interface HasWaveEffect<WavesSupport>@Deprecated public WavesSupport setWavesColor(WaveColor waveColor)
setWaveColor(WaveColor) insteadpublic WavesSupport setWaveColor(WaveColor waveColor)
setWaveColor in interface HasWaveEffect<WavesSupport>waveColor - the WaveColorpublic WavesSupport applyWaveStyle(WaveStyle waveStyle)
applyWaveStyle in interface HasWaveEffect<WavesSupport>waveStyle - the WaveStylepublic WavesSupport removeWaves()
removeWaves in interface HasWaveEffect<WavesSupport>Copyright © 2019–2022 Dominokit. All rights reserved.