3 * Copyright(c) 2006-2009 Ext JS, LLC
5 * http://www.extjs.com/license
7 var ResizableExample = {
\r
10 var basic = new Ext.Resizable('basic', {
\r
17 var animated = new Ext.Resizable('animated', {
\r
28 var wrapped = new Ext.Resizable('wrapped', {
\r
36 var transparent = new Ext.Resizable('transparent', {
\r
40 preserveRatio: true,
\r
44 var custom = new Ext.Resizable('custom', {
\r
49 preserveRatio: true,
\r
54 var customEl = custom.getEl();
\r
55 // move to the body to prevent overlap on my blog
\r
56 document.body.insertBefore(customEl.dom, document.body.firstChild);
\r
58 customEl.on('dblclick', function(){
\r
59 customEl.hide(true);
\r
63 Ext.get('showMe').on('click', function(){
\r
65 customEl.show(true);
\r
68 var dwrapped = new Ext.Resizable('dwrapped', {
\r
78 var snap = new Ext.Resizable('snap', {
\r
90 Ext.EventManager.onDocumentReady(ResizableExample.init, ResizableExample, true);