JQuery Easyui API Chinese document adjustable size _jquery

Source: Internet
Author: User
Resizable Adjustable size
Rewrite defaults with $.fn.resizable.defaults.
Usage
Copy Code code as follows:

<div id= "RR" style= "width:100px;height:100px;border:1px solid #ccc;" ></div>

Copy Code code as follows:

$ (' #rr '). Resizable ({
maxwidth:800,
maxheight:600
});

Characteristics

Name

Type

Description

Default value

Disabled

Boolean

True to prevent resizing.

False

Handles

String

Refers to the direction of resizable. ' n ' is North,' E ' is east, and so on.

N, E, S, W, NE, SE, SW, NW, all

MinWidth

Number

Minimum width when sizing.

10

MinHeight

Number

Minimum height when sizing.

10

MaxWidth

Number

Maximum width when sizing.

10000

MaxHeight

Number

Maximum height when sizing.

10000

Edge

Number

The edge of the bounding rectangle of the resized dimension.

5

Event

e

td>

name

parameter

description

onstartresize

to start resizing.

onresize

e

Resize period triggered. Returns false when dom element will not be true resizing action.

onstopresize

/td>

e

stops resizing when it is triggered.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.