Important changes to Tiny Cloud pricing > Find out more

tinymce.ui.FlexLayout

This layout manager works similar to the CSS flex box.

Settings

name type summary defined by
align String start|end|center|stretch tinymce.ui.FlexLayout
direction String row|row-reverse|column|column-reverse tinymce.ui.FlexLayout
flex Number A positive-number to flex by. tinymce.ui.FlexLayout
pack String start|end|justify tinymce.ui.FlexLayout

Constructors

name summary defined by
Layout() Constructs a layout instance with the specified settings. tinymce.ui.Layout

Methods

name summary defined by
postRender() This method gets invoked after the layout renders the controls. tinymce.ui.Layout
preRender() This method gets invoked before the layout renders the controls. tinymce.ui.Layout
recalc() Recalculates the positions of the controls in the specified container. tinymce.ui.FlexLayout
renderHtml() Renders the specified container and any layout specific HTML. tinymce.ui.AbsoluteLayout

Constructors

Layout

public constructor function Layout(settings:Object)

Constructs a layout instance with the specified settings.

Parameters
  • settings (Object) - Name/value object with settings.

Methods

postRender

postRender(container:tinymce.ui.Container)

This method gets invoked after the layout renders the controls.

Parameters

preRender

preRender(container:tinymce.ui.Container)

This method gets invoked before the layout renders the controls.

Parameters

recalc

recalc(container:tinymce.ui.Container)

Recalculates the positions of the controls in the specified container.

Parameters

renderHtml

renderHtml(container:tinymce.ui.Container)

Renders the specified container and any layout specific HTML.

Parameters

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.