tinymce.ui.Movable

Movable mixin. Makes controls movable absolute and relative to other elements.

Methods

name summary defined by
moveBy() Move by a relative x, y values. tinymce.ui.Movable
moveRel() Move relative to the specified element. tinymce.ui.Movable
moveTo() Move to absolute position. tinymce.ui.Movable
testMoveRel() Tests various positions to get the most suitable one. tinymce.ui.Movable

Methods

moveBy

moveBy(dx:Number, dy:Number):tinymce.ui.Control

Move by a relative x, y values.

Parameters
Return value

moveRel

moveRel(elm:Element, rel:String):tinymce.ui.Control

Move relative to the specified element.

Parameters
Return value

moveTo

moveTo(x:Number, y:Number):tinymce.ui.Control

Move to absolute position.

Parameters
Return value

testMoveRel

testMoveRel(elm:DOMElement, rels:Array):String

Tests various positions to get the most suitable one.

Parameters
Return value

Except as otherwise noted, the content of this page is licensed under the Creative Commons BY-NC-SA 3.0 License, and code samples are licensed under the Apache 2.0 License.