Settings management functions for PlutoBoard.jl
- Source
Methods
(static) exports.addCell() → {void}
Calls a Julia function to add a new cell, updates the cell IDs table, and displays a toast message.
- Source
Returns:
- Type:
- void
(static) exports.addModalButtonListener() → {void}
Adds event listeners to the open and close buttons of the settings modal.
- Source
Returns:
- Type:
- void
(static) exports.closeSettings() → {void}
Adds the `hidden` class to the settings modal and removes the `flex` class to hide it.
- Source
Returns:
- Type:
- void
(static) exports.findCell(cell_id) → {void}
Finds a cell by its ID, highlights it, and displays a toast message.
Parameters:
Name | Type | Description |
---|---|---|
cell_id | string | - |
- Source
Returns:
- Type:
- void
(static) exports.openSettings() → {void}
Removes the `hidden` class from the settings modal and adds the `flex` class to display it.
- Source
Returns:
- Type:
- void
(static) exports.removeCell(cell_id) → {void}
Calls a Julia function to remove a cell by its ID, updates the cell IDs table, and displays a toast message.
Parameters:
Name | Type | Description |
---|---|---|
cell_id | string | - |
- Source
Returns:
- Type:
- void
(static) exports.updateCellIDsTable() → {void}
Fetches the list of cell IDs from Julia and updates the cell IDs table in the settings modal.
- Source
Returns:
- Type:
- void