tinymce.ui.Resizable
Resizable mixin. Enables controls to be resized.
Methods
name | summary | defined by |
---|---|---|
resizeBy() | Resizes the control to a specific relative width/height. | tinymce.ui.Resizable |
resizeTo() | Resizes the control to a specific width/height. | tinymce.ui.Resizable |
resizeToContent() | Resizes the control to contents. | tinymce.ui.Resizable |
Methods
resizeBy
resizeBy(dw:Number, dh:Number):tinymce.ui.Control
Resizes the control to a specific relative width/height.
Parameters
- dw (Number) - Relative control width.
- dh (Number) - Relative control height.
Return value
- tinymce.ui.Control - Current control instance.
resizeTo
resizeTo(w:Number, h:Number):tinymce.ui.Control
Resizes the control to a specific width/height.
Parameters
- w (Number) - Control width.
- h (Number) - Control height.
Return value
- tinymce.ui.Control - Current control instance.
resizeToContent
resizeToContent()
Resizes the control to contents.
Can't find what you're looking for? Let us know.
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.