tinymce.ui.ReflowQueue
This class will automatically reflow controls on the next animation frame within a few milliseconds on older browsers. If the user manually reflows then the automatic reflow will be cancelled. This class is used internally when various control states changes that triggers a reflow.
Methods
name | summary | defined by |
---|---|---|
add() | Adds a control to the next automatic reflow call. This is the control that had a state change for example if the control was hidden/shown. | tinymce.ui.ReflowQueue |
remove() | Removes the specified control from the automatic reflow. This will happen when for example the user manually triggers a reflow. | tinymce.ui.ReflowQueue |
Methods
add
add(ctrl:tinymce.ui.Control)
Adds a control to the next automatic reflow call. This is the control that had a state change for example if the control was hidden/shown.
Parameters
- ctrl (tinymce.ui.Control) - Control to add to queue.
remove
remove(ctrl:tinymce.ui.Control)
Removes the specified control from the automatic reflow. This will happen when for example the user manually triggers a reflow.
Parameters
- ctrl (tinymce.ui.Control) - Control to remove from queue.
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.