Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

jQuery EasyUI Basic Plugins - Resizable

jQuery EasyUI Basic Plugins - Resizable


jQuery EasyUI Plugins jQuery EasyUI Plugins


Override the default defaults through $.fn.resizable.defaults.

Usage

Create resizable objects through markup.



Create resizable objects using javascript.





$('#rr').resizable({

    maxWidth:800,

    maxHeight:600

});

property

Name Type Description Default value
disabled boolean If set to true, resizing is disabled. false
handles string The directions for resizing: 'n' is north, 'e' is east, and so on. n, e, s, w, ne, se, sw, nw, all
minWidth number The minimum width when resizing. 10
minHeight number The minimum height when resizing. 10
maxWidth number The maximum width when resizing. 10000
maxHeight number The maximum height when resizing. 10000
edge number The edge of the border to be resized. 5

Events

Name Parameters Description
onStartResize e Triggered when resizing starts.
onResize e Triggered during resizing. When false is returned, the DOM element will not actually be resized.
onStopResize e Triggered when resizing stops.

Method

Name Parameters Description
options none Return the resizable options.
enable none Enable the resizable feature.
disable none Disable the resizable feature.

jQuery EasyUI Plugins jQuery EasyUI Plugins