Taskbar

Taskbar

new Taskbar()

Description:
  • Taskbar Object

Source:

Methods

addExternalItem(options)

Description:
  • Method for adding a new taskbar item in Header for External Screens

Source:
Parameters:
Name Type Description
options

Net taskbar item options, id, icon and title

addGroup(groupData)

Description:
  • Method to add taskbar group

Source:
Parameters:
Name Type Description
groupData

addItem(itemData)

Description:
  • Method to add taskbar item

Source:
Parameters:
Name Type Description
itemData

attachEvent(eventName, listener)

Description:
  • Method for attaching event by event name

Source:
Parameters:
Name Type Description
eventName
listener

clearAllExternalScreensOpened()

Description:
  • Method for clearing up all the external screens

Source:

disable()

Description:
  • Method for disabling the Taskbar

Source:

enable()

Description:
  • Method for enabling Taskbar

Source:

getActiveGroupId()

Description:
  • Method to get active group id

Source:

getActiveItem()

Description:
  • Method to get active item

Source:

getActiveItemByGroupId(id)

Description:
  • Method to get active taskbar item by group id

Source:
Parameters:
Name Type Description
id

getGroupById(id)

Description:
  • Method to get taskbar group by id

Source:
Parameters:
Name Type Description
id

getGroupHasChangesById(id)

Description:
  • Method to get group has changes state by id

Source:
Parameters:
Name Type Description
id string

getGroups()

Description:
  • Method for getting all taskbar groups

Source:

getItemById(id)

Description:
  • Method to get taskbar item by id

Source:
Parameters:
Name Type Description
id

getItems()

Description:
  • Method for getting all taskbar items

Source:

getLastSelectedGroup()

Description:
  • Method for getting last selected group

Source:

removeExternalItem(id)

Description:
  • Method for removing the External screen taskbar items

Source:
Parameters:
Name Type Description
id

removeGroupById(id)

Description:
  • Method for removing group item by id

Source:
Parameters:
Name Type Description
id

Group id

removeItem(id)

Description:
  • Method to remove taskbar item by given id

Source:
Parameters:
Name Type Description
id

selectItem(id, triggerEvent)

Description:
  • Method for selecting taskbar item by given id

Source:
Parameters:
Name Type Default Description
id
triggerEvent true

setGroupTitle(groupId, title)

Description:
  • Method for setting a taskbar group item title

Source:
Parameters:
Name Type Description
groupId
title

setItemCustomState(id, customStates)

Description:
  • Method for setting custom state on item by id

Source:
Parameters:
Name Type Description
id
customStates

setItemHasChanges(itemId, hasErrors)

Description:
  • Method for setting the item hasErrors state

Source:
Parameters:
Name Type Description
itemId

Item id

hasErrors

Item errors state

setItemHasErrors(itemId, hasErrors)

Description:
  • Method for setting the item hasErrors state

Source:
Parameters:
Name Type Description
itemId

Item id

hasErrors

Item errors state

setItemTitle(itemId, title)

Description:
  • Method for setting a taskbar item title

Source:
Parameters:
Name Type Description
itemId
title

updateGroup(groupData)

Description:
  • Method for updating group with given options

Source:
Parameters:
Name Type Description
groupData