Jump To:

  1. ui/resizer.Resizer
    1. new exports.Resizer(container, control, options)

ui/resizer

ui/resizer.Resizer

Kind: static class of ui/resizer

new exports.Resizer(container, control, options)

Param Type Description
container Node Container to be resize
control Node Resize handle element
options Object Defualt can be changed on class
options.debug Boolean Enable non-essential debugging logs
options.overrideMaxWidth Boolean When script is activated by handle remove the elements max-width and allow the width of the resize to exceed the max (default false)
options.fromLeft Boolean The script should assume the handle is on the left side of the element