2 * Ext JS Library 2.2.1
\r
3 * Copyright(c) 2006-2009, Ext JS, LLC.
\r
4 * licensing@extjs.com
\r
6 * http://extjs.com/license
\r
9 var ResizableExample = {
\r
12 var basic = new Ext.Resizable('basic', {
\r
19 var animated = new Ext.Resizable('animated', {
\r
30 var wrapped = new Ext.Resizable('wrapped', {
\r
38 var transparent = new Ext.Resizable('transparent', {
\r
42 preserveRatio: true,
\r
46 var custom = new Ext.Resizable('custom', {
\r
51 preserveRatio: true,
\r
56 var customEl = custom.getEl();
\r
57 // move to the body to prevent overlap on my blog
\r
58 document.body.insertBefore(customEl.dom, document.body.firstChild);
\r
60 customEl.on('dblclick', function(){
\r
61 customEl.hide(true);
\r
65 Ext.get('showMe').on('click', function(){
\r
67 customEl.show(true);
\r
70 var dwrapped = new Ext.Resizable('dwrapped', {
\r
80 var snap = new Ext.Resizable('snap', {
\r
92 Ext.EventManager.onDocumentReady(ResizableExample.init, ResizableExample, true);