Adds a new entry to the context menu of a board.
Arguments
- name
Name of the context menu entry.
- js
JavaScript code to execute when the entry is selected.
- action
Action to perform when the entry is selected.
- condition
Condition to determine if the entry should be shown.
- id
Unique identifier for the context menu entry. Infered from
name
if not provided.- x
Object