Show:

I am the Titlebar. I provide a place for a title text, and for two buttons (opening the Sidebar and – YET TO IMPLEMENT – the social sharing widgets).

Methods

changeUserLogin

(
  • loggedIn
)

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

Parameters:

create

()

I am called from Interface/create().

I set up my interface elements.

toggleEditMode

(
  • editMode
  • oldEditMode
)

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

Parameters:

toggleSidebarOpen

(
  • opened
)

I make changes to my CSS, when the global state "sidebarOpen" changes.

Parameters:

toogleUnsavedChanges

(
  • aBoolean
)

I make changes to my CSS, when the global state "unsavedChanges" changes.

Parameters:

Attributes

height

Number readonly

I am the height of the title bar in pixel.

title

String

I am the text, which should be shown in the title bar.