LoadOptions
Copy as MarkdownThe options of loadFile (and of mountFile, which adds its own).
Extended by
Section titled “Extended by”Properties
Section titled “Properties”integrity?
Section titled “integrity?”
readonlyoptionalintegrity?:string
The file’s hash, as in a <script integrity>: sha256-<base64> of the bytes as downloaded (the gzipped file),
checked before anything reads them; spaces around it are allowed. A mismatch is an integrity error. It needs
a secure context (https or localhost), and the file’s bytes (not a RupaFile already parsed).