Skip to content

Latest commit

 

History

History
80 lines (65 loc) · 7.12 KB

File metadata and controls

80 lines (65 loc) · 7.12 KB

docs » plugins.core.preferences.panels.touchbar


Touch Bar Preferences Panel

API Overview

API Documentation

Variables

Signature plugins.core.preferences.panels.touchbar.defaultIconPath -> string
Type Variable
Description Default Path where built-in icons are stored
Signature plugins.core.preferences.panels.touchbar.maxItems -> number
Type Variable
Description The maximum number of Touch Bar items per group.
Signature plugins.core.preferences.panels.touchbar.supportedExtensions -> string
Type Variable
Description Table of supported extensions for Touch Bar Icons.

Functions

Signature plugins.core.preferences.panels.touchbar.getGroupEditor(groupId) -> none
Type Function
Description Gets the Group Editor
Parameters
  • groupId - Group ID
Returns
  • Group Editor
Signature plugins.core.preferences.panels.touchbar.init(deps, env) -> module
Type Function
Description Initialise the Module.
Parameters
  • deps - Dependancies Table
  • env - Environment Table
Returns
  • The Module
Signature plugins.core.preferences.panels.touchbar.setGroupEditor(groupId, editorFn) -> none
Type Function
Description Sets the Group Editor
Parameters
  • groupId - Group ID
  • editorFn - Editor Function
Returns
  • None

Fields

Signature plugins.core.preferences.panels.touchbar.enabled <cp.prop: boolean>
Type Field
Description Enable or disable Touch Bar Support.
Signature plugins.core.preferences.panels.touchbar.lastGroup <cp.prop: string>
Type Field
Description Last group used in the Preferences Drop Down.