Resizer

Resizer

new Resizer()

Main Resizer class constructor

Methods

(static) _initialize(options, data)

Override the initialize function to set the component specific initialization requirements

Parameters:
Name Type Description
options Object

The options to pass to the component

data Object

The optional startup data for the component

(private, static) _onTouch()

Handle the touchStart event

(private, static) _onTouchMove()

Handle the touch move setting a default tolerance of 5

(static) _setElements()

Override the _setElements function so that custom elements can be inserted and referenced for the component

(private, static) _startTimer()

Start Timer for the resize drag functions

(private, static) _stopTimer()

Stop the animation timer

(private, static) _windowUp()

Window Up Event

(static) destroy()

Destroy the component and remove all elements from the dom and clear all events added, returns a null value in the event the object was stored in a reference to nullify the reference