Basic usage. var t1 = new Transformable(element);

Contained within parent var t2 = new Transformable(element, { contain: 'enclose' });

Contained to cover background of parent var t3 = new Transformable(element, { contain: 'cover' });

Nested transformable elements var parent = new Transformable(elementp), child = new Transformable(elementc, {contain: 'enclose'});

Resizable. var t1 = new Transformable(element, {resize: 'tl-br', contain: 'enclose'});