constrain-resize-source-js.mustache revision 35d039da10970deb9abb779286f19907ec86350c
e2f644c80c2428330032af20658279d458938f20Derek GathrightYUI().use('resize', function(Y) {
e2f644c80c2428330032af20658279d458938f20Derek Gathright var resize = new Y.Resize({
e2f644c80c2428330032af20658279d458938f20Derek Gathright //Selector of the node to resize
e2f644c80c2428330032af20658279d458938f20Derek Gathright node: '#demo'
e2f644c80c2428330032af20658279d458938f20Derek Gathright minWidth: 50,
e2f644c80c2428330032af20658279d458938f20Derek Gathright minHeight: 50,
e2f644c80c2428330032af20658279d458938f20Derek Gathright maxWidth: 300,
e2f644c80c2428330032af20658279d458938f20Derek Gathright maxHeight: 300,
e2f644c80c2428330032af20658279d458938f20Derek Gathright preserveRatio: true