docs » plugins.core.touchbar.prefs
Touch Bar Preferences Panel
- Variables - Configurable values
- defaultIconPath
- maxItems
- supportedExtensions
- Functions - API calls offered directly by the extension
- getGroupEditor
- init
- setGroupEditor
- Fields - Variables which can only be accessed from an object returned by a constructor
- enabled
- lastGroup
- scrollBarPosition
| 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. |
| Signature | plugins.core.touchbar.prefs.getGroupEditor(groupId) -> none |
|---|---|
| Type | Function |
| Description | Gets the Group Editor |
| Parameters |
|
| Returns |
|
| Signature | plugins.core.touchbar.prefs.init(deps, env) -> module |
|---|---|
| Type | Function |
| Description | Initialise the Module. |
| Parameters |
|
| Returns |
|
| Signature | plugins.core.touchbar.prefs.setGroupEditor(groupId, editorFn) -> none |
|---|---|
| Type | Function |
| Description | Sets the Group Editor |
| Parameters |
|
| Returns |
|
| 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. |