Skip to main content

About Appbar

Appbar class is used to fill appbar and control apps in the dock.

set is used to set apps in the appbar and get is used to get current apps list.

It also has to extra variables:

  1. Appbar.Split is variable, that holdds a template for a split line.

Example:

var apps_list = [
// some apps before line

Appbar.Split,

// some apps after line
]
  1. Appbar.appbar contains a string reference to the appbar element.

Use it with querySelector.