public class Actions
extends java.lang.Object
Widget.setAction(_global_.String)
.
The signature of an action must be as follows:
function (
DOMElement
n, Map
opts) {}
Furthermore, the method will be called as a widget's method, i.e.,
this
references to the widget.
Modifier and Type | Method and Description |
---|---|
static void |
slideDown(DOMElement n,
Map opts)
Slides down to display this widget.
|
static void |
slideIn(DOMElement n,
Map opts)
Slides in to display this widget.
|
static void |
slideOut(DOMElement n,
Map opts)
Slides out to hide this widget.
|
static void |
slideUp(DOMElement n,
Map opts)
Slides up to hide this widget.
|
public static void slideDown(DOMElement n, Map opts)
n
- the node to displayopts
- the options. Allowed options:
duration
: how many milliseconds to slide downpublic static void slideUp(DOMElement n, Map opts)
n
- the node to hideopts
- the options. Allowed options:
duration
: how many milliseconds to slide uppublic static void slideIn(DOMElement n, Map opts)
n
- the node to displayopts
- the options. Allowed options:
duration
: how many milliseconds to slide inpublic static void slideOut(DOMElement n, Map opts)
n
- the node to hideopts
- the options. Allowed options:
duration
: how many milliseconds to slide outCopyright © 2005-2023 Potix Corporation. All Rights Reserved.