public class AnimationCollapseStrategy extends Object implements CollapseStrategy
CollapseStrategy that uses the css display property to hide/show the
collapsible element| Constructor and Description |
|---|
AnimationCollapseStrategy(Transition transition,
CollapseDuration duration) |
AnimationCollapseStrategy(Transition showTransition,
Transition hideTransition,
CollapseDuration duration) |
| Modifier and Type | Method and Description |
|---|---|
void |
hide(elemental2.dom.HTMLElement element,
Style<elemental2.dom.HTMLElement,org.jboss.elemento.IsElement<elemental2.dom.HTMLElement>> style)
Implement this method to hide a collapsible element
|
void |
show(elemental2.dom.HTMLElement element,
Style<elemental2.dom.HTMLElement,org.jboss.elemento.IsElement<elemental2.dom.HTMLElement>> style)
Implement this method to show a collapsible element
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcleanup, initpublic AnimationCollapseStrategy(Transition showTransition, Transition hideTransition, CollapseDuration duration)
public AnimationCollapseStrategy(Transition transition, CollapseDuration duration)
public void show(elemental2.dom.HTMLElement element,
Style<elemental2.dom.HTMLElement,org.jboss.elemento.IsElement<elemental2.dom.HTMLElement>> style)
show in interface CollapseStrategyelement - The collapsible HTMLElementstyle - the Style of the elementpublic void hide(elemental2.dom.HTMLElement element,
Style<elemental2.dom.HTMLElement,org.jboss.elemento.IsElement<elemental2.dom.HTMLElement>> style)
hide in interface CollapseStrategyelement - The collapsible HTMLElementstyle - the Style of the elementCopyright © 2019–2022 Dominokit. All rights reserved.