RupaFile
Copy as MarkdownA .rupaplay file, version 1: what the export writes (gzipped JSON) and loadFile reads. Its html and css are
untrusted text: only mountFile writes them into the page, sanitised.
Properties
Section titled “Properties”classes
Section titled “classes”
readonlyclasses: readonlystring[]
Every class of the markup’s nodes (the auto markup choice looks for each).
readonlycss:string
The design and animation CSS, scoped by the root class. Untrusted text: only mountFile installs it, sanitised.
readonlydata:PlayerData
The flow’s table.
readonlyfonts: readonlystring[]
The font stylesheets of an export whose fonts stay external (Fontsource on jsDelivr only); empty when embedded.
format
Section titled “format”
readonlyformat:"rupaplay"
Always "rupaplay".
readonlyhtml:string
The root’s markup (the root element itself). Untrusted text: only mountFile writes it, sanitised.
player
Section titled “player”
readonlyplayer:string
The oldest player that reads it (x.y.z): an older player refuses the file (version).
readonlyroot:string
The root’s class.
version
Section titled “version”
readonlyversion:1
The file format’s version, 1.