Update api.md

This commit is contained in:
Roni Lehto 2021-04-07 18:46:00 +00:00
parent 92bd06ed81
commit ec82f83ca9

View File

@ -58,10 +58,14 @@ The messageData object will be converted to JSON and passed as a parsed object t
## Frontend ## Frontend
### events ### events
* `worksheetLoading`
* Called when a worksheet is being loaded
* `worksheetOpened` * `worksheetOpened`
* Called when a worksheet has been opened (probably from a file) * Called when a worksheet has been opened (probably from a file)
* Event data: * Event data:
* `content` - the brief contents of the file, **can be modified**, but please don't * `content` - the brief contents of the file, **can be modified**, but please don't
* `worksheetSaved`
* Called when a worksheet has been saved
* `worksheetReset`` * `worksheetReset``
* Called when a new worksheet has been initialized * Called when a new worksheet has been initialized
* `formulaRender` * `formulaRender`