dockIconClickCallback

Last updated 2 months ago

Callback which triggers when the CommandPost Dock Icon is clicked

API Overview

  • Methods - API calls which can only be made on an object returned by a constructor

API Documentation

Methods

Signature

cp.config.dockIconClickCallback:callbackFn() -> function

Type

Method

Description

Returns the callbackFn of the current Dock Icon Click Callback

Parameters

Returns

get

Signature

cp.config.dockIconClickCallback:get(id) -> table

Type

Method

Description

Creates a new Dock Icon Click Callback.

Parameters

Returns

getAll

Signature

cp.config.dockIconClickCallback:getAll() -> table

Type

Method

Description

Returns all of the created Dock Icon Click Callbacks

Parameters

Returns

id

Signature

cp.config.dockIconClickCallback:id() -> string

Type

Method

Description

Returns the ID of the current Dock Icon Click Callback

Parameters

Returns

new

Signature

cp.config.dockIconClickCallback:new(id, callbackFn) -> table

Type

Method

Description

Creates a new File Dropped to Dock Icon Callback.

Parameters

Returns