Represents a reference to a command. Provides a title which will be used to represent a command in the UI and, optionally, an array of arguments which will be passed to the command handler function when invoked.
Represents a reference to a command. Provides a title which will be used to represent a command in the UI and, optionally, an array of arguments which will be passed to the command handler function when invoked.
(arguments command)
Arguments that the command handler should be invoked with.
Returns: any[] | undefined
Arguments that the command handler should be invoked with. **Returns:** `any[] | undefined`
(command command)
The identifier of the actual command handler.
Returns: string
The identifier of the actual command handler. **Returns:** `string`
(set-arguments! command value)
Arguments that the command handler should be invoked with.
Arguments that the command handler should be invoked with.
(set-command! command value)
The identifier of the actual command handler.
The identifier of the actual command handler.
(set-title! command value)
Title of the command, like save
.
Title of the command, like `save`.
(set-tooltip! command value)
A tooltip for the command, when represented in the UI.
A tooltip for the command, when represented in the UI.
(title command)
Title of the command, like save
.
Returns: string
Title of the command, like `save`. **Returns:** `string`
(tooltip command)
A tooltip for the command, when represented in the UI.
Returns: string | undefined
A tooltip for the command, when represented in the UI. **Returns:** `string | undefined`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close