resize Module
Defined in:
yui3/src/resize/js/resize-proxy.js:17
The Resize Utility allows you to make an HTML element resizable.
This module provides the following classes:
This module is a rollup of the following modules:
-
resize-contrain
A Resize plugin that will attempt to constrain the resize node to the boundaries.
-
resize-plugin
The Resize Plugin allows you to make a Node or a Widget resizable. It supports all the functionality of the standalone Resize utility. Additionally, resizing a widget updates the widget's height,width and x,y attributes, if they exist. var overlay = new Y.Overlay({ width: "200px", srcNode: "#overlay", visible: false, align: {node:".example", points:["tc", "bc"]} }); overlay.plug(Y.Plugin.Resize);
-
resize-proxy
Adds a
proxyNode
attribute and resizes it instead of the actual node. __very similar to DDProxy__ var resize = new Y.Resize({ //Selector of the node to resize node: '#demo' }); resize.plug(Y.Plugin.ResizeProxy);