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

maxItems

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

Returns

init

Signature

plugins.core.preferences.panels.touchbar.init(deps, env) -> module

Type

Function

Description

Initialise the Module.

Parameters

Returns

Signature

plugins.core.preferences.panels.touchbar.setGroupEditor(groupId, editorFn) -> none

Type

Function

Description

Sets the Group Editor

Parameters

Returns

Fields

enabled

Signature

plugins.core.preferences.panels.touchbar.enabled <cp.prop: boolean>

Type

Field

Description

Enable or disable Touch Bar Support.

lastGroup

Signature

plugins.core.preferences.panels.touchbar.lastGroup <cp.prop: string>

Type

Field

Description

Last group used in the Preferences Drop Down.