| Package | Description |
|---|---|
| org.dominokit.domino.ui.animations |
| Modifier and Type | Method and Description |
|---|---|
Animation |
Animation.animate()
starts animating the element, if there is a delay the animation will start after the delay
|
Animation |
Animation.beforeStart(Animation.StartHandler startHandler)
sets some logic to be executed before the animation starts
|
Animation |
Animation.callback(Animation.CompleteCallback callback)
sets some logic to be executed when the animation is completed
|
static Animation |
Animation.create(elemental2.dom.HTMLElement element)
static factory method to create an animation for an
HTMLElement |
static Animation |
Animation.create(org.jboss.elemento.IsElement<?> element)
static factory method to create an animation for an
IsElement this method will create
an animation for the HTMLElement wrapped in the IsElement |
Animation |
Animation.delay(int delay)
sets the time the animation should wait before actually animate the element after
animate() is called |
Animation |
Animation.duration(int duration)
sets the duration for this animation
|
Animation |
Animation.infinite()
sets the animation as infinite so once the animation starts it will repeat infinitely or until
stop() is called |
Animation |
Animation.repeat(double repeatCount)
sets the animation to repeat for a specific number of times or until
stop()
is called. |
Animation |
Animation.transition(Transition transition)
sets the transition type for this animation.
|
Copyright © 2019–2022 Dominokit. All rights reserved.