StaticLayout (ui/toolbar)
@ckeditor/ckeditor5-ui/src/toolbar/toolbarview
A toolbar behavior that makes it static and unresponsive to the changes of the environment.
At the same time, it also makes it possible to display a toolbar with a vertical layout
using the isVertical
property.
Filtering
Properties
-
destroy : function
readonly
A method called after the toolbar has been destroyed. It allows cleaning up after the toolbar behavior, for instance, this is the right place to detach event listeners, free up references, etc.
-
render : function
readonly
A method called after the toolbar has been rendered. It can be used to, for example, customize the behavior of the toolbar when its
element
is available.Parameters
view : ToolbarView
An instance of the toolbar being rendered.
Methods
-
constructor( view )
Creates an instance of the
StaticLayout
toolbar behavior.Parameters
view : ToolbarView
An instance of the toolbar that this behavior is added to.
Every day, we work hard to keep our documentation complete. Have you spotted an outdated information? Is something missing? Please report it via our issue tracker.