Show:

I am the Sidebar. I provide the basic navigation for the user interface.

Methods

changeUserColor

(
  • color
)

I react to a change in the global state "userColor"

Parameters:

changeUserLogin

(
  • loggedIn
)

I react to a change in the global state "loggedIn"

Parameters:

changeViewSize

(
  • arrayWidthAndHeight
)

I react to a change in the global state "viewSize"

Parameters:

  • arrayWidthAndHeight Array

create

()

I am called from Interface/create() and set up all my elements.

newUnsavedChange

(
  • category
)

I am called from the HypervideoModel/newUnsavedChange().

I mark the categories (overlays, videolinks, annotations), which have unsaved changes inside them.

Parameters:

toggleEditMode

(
  • editMode
  • oldEditMode
)

I react to a change in the global state "editMode"

Parameters:

toggleFullscreen

(
  • aBoolean
)

I react to a change in the global state "fullscreen"

Parameters:

toggleSidebarOpen

(
  • opened
)

I react to a change in the global state "sidebarOpen"

Parameters:

toggleViewMode

(
  • viewMode
)

I react to a change in the global state "viewMode"

Parameters:

toogleUnsavedChanges

(
  • aBoolean
)

I react to a change in the global state "unsavedChanges"

Parameters:

Attributes

ProjectDescription

String

I am the text which should be displayed in the "Overview" tab of the sidebar.

VideoDescription

String

I am the text which should be displayed in the "Video" tab of the sidebar.

width

Number readonly

I am the width of the sidebar's DOM element.