The jQueryEasyUIAPI Chinese document can be used to adjust the size. For details about how to learn jQueryEasyUI, refer. Resizable adjustable size
Use $. fn. resizable. defaults to override defaults.
Usage
The Code is as follows:
The Code is as follows:
$ ('# Rr'). resizable ({
MaxWidth: 800,
MaxHeight: 600
});
Features
Name |
Type |
Description |
Default Value |
Disabled |
Boolean |
TrueThe dimension cannot be adjusted. |
False |
Handles |
String |
RefersResizable.'N'North,'E'It's east, and so on. |
N, e, s, w, ne, se, sw, nw, all |
MinWidth |
Number |
Minimum width for dimension adjustment. |
10 |
MinHeight |
Number |
The minimum height when the dimension is adjusted. |
10 |
MaxWidth |
Number |
The maximum width when the dimension is adjusted. |
10000 |
MaxHeight |
Number |
The maximum height when the dimension is adjusted. |
10000 |
Edge |
Number |
The edge of the border to be resized. |
5 |
Event
Name |
Parameters |
Description |
OnStartResize |
E |
Triggered when the dimension is adjusted. |
OnResize |
E |
Triggered during resizing. ReturnFalseHourDOMThe elements do not actually adjust the size. |
OnStopResize |
E |
Triggered when dimension adjustment is stopped. |