Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Latest commit

 

History

History
87 lines (71 loc) · 6.23 KB

plugins.core.touchbar.prefs.md

File metadata and controls

87 lines (71 loc) · 6.23 KB

docs » plugins.core.touchbar.prefs


Touch Bar Preferences Panel

API Overview

API Documentation

Variables

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

Functions

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

Fields

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