JQuery EasyUI API Chinese Document adjustable size

Source: Internet
Author: User

Resizable adjustable size
Use $. fn. resizable. defaults to override defaults.
Usage Copy codeThe Code is as follows: <div id = "rr" style = "width: 100px; height: 100px; border: 1px solid # ccc;"> </div>

Copy codeThe Code is as follows: $ ('# rr'). resizable ({
MaxWidth: 800,
MaxHeight: 600
});

Features

Name

Type

Description

Default Value

Disabled

Boolean

True will disable resizing.

False

Handles

String

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 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. When false is returned, the DOM element does not actually adjust the size.

OnStopResize

E

Triggered when dimension adjustment is stopped.

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.