scripting: expose Image()
canvas: typo
This commit is contained in:
parent
c84067c456
commit
23dadaaf7d
4 changed files with 7 additions and 2 deletions
|
|
@ -114,6 +114,8 @@ The following variables and functions are accessible in this context.
|
|||
- `platform`: operating system as seen by the client
|
||||
- `session`: session file path
|
||||
- `clipboard`: instance of navigator [Clipboard](https://developer.mozilla.org/en-US/docs/Web/API/Clipboard)
|
||||
- `Image`: javavscript's [Image](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/Image) constructor
|
||||
|
||||
|
||||
!!! note "this"
|
||||
Unlike in most javascript contexts, the special keyword `this` doesn't point to an object but instead returns the string `"this"`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue