@casual-simulation/aux-records
Advanced tools
Changelog
V3.1.11
portalZoomableMin
and portalZoomableMax
tags.analytics.recordEvent(name, metadata?)
function.@onKeyRepeat
shout that is fired when a key is held down and "auto repeated".focus()
click()
blur()
select()
setRangeText()
setSelectionRange()
showPicker()
stepDown()
stepUp()
reset()
submit()
fastSeek()
load()
pause()
play()
requestPictureInPicture()
document.getElementById()
function for custom apps.Vector2
, Vector3
, Rotation
, and DateTime
values would cause the shared space to emit an error if they were stored in a tag on a new bot while it was being processed by the space.@onKeyDown
to only be emitted once when a key is starting to be held down and not continually while a key is held down.Changelog
V3.1.36
os.getPublicFile()
and os.getPrivateFile()
functions as a way to tell CasualOS whether the file is expected to be public or private.
os.getPrivateFile()
is quicker than using os.getFile()
for private files, but it is slower than using os.getFile()
for public files.os.getFile()
is optimized for retrieving public files, but will fallback to trying to retrieve private files if the first fails.os.getPublicFile()
is optimized for retrieving public files and will fail if the file is not public.os.getData()
and os.getFile()
.Changelog
V3.0.18
os.showUploadFiles()
and @onFileUpload
.onLoad
) happens:
<img>
- The following properties are copied:
width
height
naturalWidth
naturalHeight
currentSrc
<video>
- The following properties are copied:
videoWidth
videoHeight
duration
currentSrc
#id
and #space
.#system
(or whatever is specified by #systemPortalTag
on the config bot) and the second tag is specified by the #systemPortalDiff
on the config bot.#systemPortal
is set to custom
and the #systemPortalDiff
tag is set to system2
, then bots that contain custom
in their #system
tag will be compared against bots that match using their #system2
tag.os.appHooks
property that contains hook functions.
-
).