Sidebar Module
Defined in:
Module: Player
frametrail/player/modules/Sidebar/module.js:6
I am the Sidebar. I provide the basic navigation for the user interface.
Item Index
Methods
Attributes
Methods
changeUserColor
(
-
color
I react to a change in the global state "userColor"
Parameters:
-
color
String
changeUserLogin
(
-
loggedIn
I react to a change in the global state "loggedIn"
Parameters:
-
loggedIn
Boolean
changeViewSize
(
-
arrayWidthAndHeight
I react to a change in the global state "viewSize"
Parameters:
-
arrayWidthAndHeight
Array
newUnsavedChange
(
-
category
I am called from the HypervideoModel/newUnsavedChange().
I mark the categories (overlays, videolinks, annotations), which have unsaved changes inside them.
Parameters:
-
category
String
toggleEditMode
(
-
editMode
-
oldEditMode
I react to a change in the global state "editMode"
toggleFullscreen
(
-
aBoolean
I react to a change in the global state "fullscreen"
Parameters:
-
aBoolean
Boolean
toggleSidebarOpen
(
-
opened
I react to a change in the global state "sidebarOpen"
Parameters:
-
opened
Boolean
toggleViewMode
(
-
viewMode
I react to a change in the global state "viewMode"
Parameters:
-
viewMode
String
toogleUnsavedChanges
(
-
aBoolean
I react to a change in the global state "unsavedChanges"
Parameters:
-
aBoolean
Boolean