Class idx.widget._MaximizeMixin
Mix-in class to provide methods to maximize and restore widget.
Maximizing and restoring behavior can be animated.
Defined in: <idx\widget\_MaximizeMixin.js>.
Constructor Summary
Constructor Attributes | Constructor Name and Description |
---|---|
Field Summary
Field Attributes | Field Name and Description |
---|---|
Duration of transition.
|
|
Specifies whether to maximize in place for already absolute positioned nodes.
|
|
Specifies whether to use animation for transition.
|
Method Summary
Method Attributes | Method Name and Description |
---|---|
maximize(node, target)
Maximizes a node to fit the target node
|
|
restore()
Restores the maximized node.
|
Field Detail
{Number} duration
Duration of transition.
- Default Value:
- 500
{Boolean} inPlace
Specifies whether to maximize in place for already absolute positioned nodes.
- Default Value:
- false
{Boolean} useAnimation
Specifies whether to use animation for transition.
- Default Value:
- false
Method Detail
maximize(node, target)
Maximizes a node to fit the target node
- Parameters:
- {Element} node
- {Element} target
restore()
Restores the maximized node.