Class: Toolbar

view/Toolbar.Toolbar(container, properties, presentation, viewport, controller)

Toolbar in the presentation editor.

Constructor

new Toolbar(container, properties, presentation, viewport, controller)

Initialize a new toolbar view.

Parameters:
Name Type Description
container HTMLElement

The HTML element that will contain this preview area.

properties module:view/Properties.Properties

The properties view of the editor.

presentation module:model/Presentation.Presentation

The current Sozi presentation.

viewport module:player/Viewport.Viewport

The viewport where the presentation is displayed.

controller module:Controller.Controller

The controller that manages the current editor.

Source:
To Do:
  • Add documentation.

Extends

Members

container :HTMLElement

The HTML element that will contain this preview area.

Type:
  • HTMLElement
Overrides:
Source:

controller :module:Controller.Controller

The controller that manages the current editor.

Type:
Overrides:
Source:

presentation :module:model/Presentation.Presentation

The current Sozi presentation.

Type:
Source:

properties :module:view/Properties.Properties

The properties view of the editor.

Type:
Source:

state :object

Form field values that need to be set after rendering.

Type:
  • object
Overrides:
Source:

viewport :module:player/Viewport.Viewport

The viewport where the presentation is displayed.

Type:
Source:

Methods

render() → {VNode}

Render this view as a virtual DOM tree.

Overrides:
Source:
Returns:
  • A virtual DOM tree for this view.
Type
VNode

repaint()

Repaint this view.

This will render the current view using the result of render.

Overrides:
Source:
Listens to Events: