Update api.md

This commit is contained in:
Roni Lehto 2021-04-07 19:48:56 +00:00
parent c1d8951833
commit d58fba7c25

View File

@ -53,6 +53,8 @@ Returns the absolute path to the session-specific temp folder
### api.getPluginsFolder() (`String`) ### api.getPluginsFolder() (`String`)
Returns the absolute path to L'Math's plugin folder Returns the absolute path to L'Math's plugin folder
----
### events ### events
* `fileOpened` * `fileOpened`
@ -93,6 +95,8 @@ Returns the vanilla JS `window.document` object.
### api.getJQuery() (`jQuery`) ### api.getJQuery() (`jQuery`)
Returns the jQuery (`$`) object of the window. Returns the jQuery (`$`) object of the window.
----
### api.gui ### api.gui
All returned elements are **plain DOM objects**, not jQuery objects. All returned elements are **plain DOM objects**, not jQuery objects.
@ -115,7 +119,7 @@ Returns the loading spinner dimmer
#### gui.getDialogContainer() #### gui.getDialogContainer()
Returns the special dialog container (that contains e.g. the welcome and settings dialogs) Returns the special dialog container (that contains e.g. the welcome and settings dialogs)
----
### events ### events
* `worksheetLoading` * `worksheetLoading`