Find file
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (15 sloc) 392 Bytes
<!DOCTYPE html>
<title>Creating a Resizable Node</title>
<style>
#demo {
width: 100px; height: 100px; border: 1px #000 solid; background: #d72;
position: relative;
}
</style>
<div id="demo"></div>
<script src='http://yui.yahooapis.com/3.5.0/build/yui/yui-min.js'></script>
<script>
YUI().use('resize', function (Y) {
var resize = new Y.Resize({ node: '#demo' });
});
</script>