A Resize plugin that will attempt to constrain the resize node to the boundaries.
_checkConstrainaxis
axisConstrain
offset
Helper method to update the current values on info to respect the constrain node.
_checkRatioUpdate the current values on info calculating the correct ratio for the other values.
_checkRegionCheck whether the resizable node is inside the constrain region.
_getConstrainRegionGet the constrain region based on the constrain
attribute.
constrainSurroundingStores the constrain
surrounding information retrieved from
_getBoxSurroundingInfo.
Default: null
constrainWill attempt to constrain the resize node to the boundaries. Arguments:
'view': Contrain to Viewport
'#selector_string': Constrain to this node
'{Region Object}': An Object Literal containing a valid region (top, right, bottom, left) of page positions
constrainChange
Fires when the value for the configuration attribute constrain is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
maxHeightThe maximum height of the element
Default: Infinity
maxHeightChange
Fires when the value for the configuration attribute maxHeight is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
maxWidthThe maximum width of the element
Default: Infinity
maxWidthChange
Fires when the value for the configuration attribute maxWidth is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
minHeightThe minimum height of the element
Default: 15
minHeightChange
Fires when the value for the configuration attribute minHeight is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
minWidthThe minimum width of the element
Default: 15
minWidthChange
Fires when the value for the configuration attribute minWidth is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
preserveRatioMaintain the element's ratio when resizing.
Default: false
preserveRatioChange
Fires when the value for the configuration attribute preserveRatio is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
tickXThe number of x ticks to span the resize to.
Default: false
tickXChange
Fires when the value for the configuration attribute tickX is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
tickYThe number of y ticks to span the resize to.
Default: false
tickYChange
Fires when the value for the configuration attribute tickY is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
e
EventFacade