Adds a new entry to the context menu of a board.
Usage
new_context_menu_entry(
name,
js,
action = NULL,
condition = TRUE,
id = tolower(gsub(" +", "_", name))
)
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.