JQuery Easyui (3) resizable (resizing) component

Source: Internet
Author: User

Resizable dynamic resizing element size does not depend on other components

How to load resizable

1  <div class= "easyui-resizable" ></div>//class load 2 $ ("#box"). Resizable ({});                // JS Load

Resizable Property List

$ ("#box"). Resizable ({    true,    // default is False, set to true disables resizing    handles: ' SE ',        // default is N,e,s,w,ne,se,sw,nw,all, the direction of life adjustment, respectively is the Cardinal    minwidth:200,    MinHeight:max,           //  adjustment min Width Height default value is    maxwidth:500,    500,        //  Adjust the maximum width, the height default value is 10000    edge:20,                    //  border Edge trigger size  default value is 5    });    

Resizable events

function (e) {    // start changing the size of the trigger  function(e    ) {//  Trigger    returnfalsewhen resizing;         // When false is returned, the size of the DOM element is not actually changed  function(e) {    // stop adjusting big things trigger }

Resizable method

$ ("#box"). Resizable (' options ');  // returns the Property object $ ("#box"). Resizable (' Enable ');   // Enable sizing $ ("#box"). Resizable (' disable ');   // Disable resizing

Easyui 1.3.5 resizable about this much.

Gradually found Easyui many properties, methods, and events are similar.

JQuery Easyui (3) resizable (resizing) component

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.