Interfaces
ImportMeta
The import.meta
meta-property exposes context-specific metadata to a JavaScript module.
It contains information about the module, such as the module's URL.
See
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/import.meta
Properties
Property | Type | Description |
---|---|---|
main | boolean | Set to true when the JavaScript module that is being executed is the entrypoint file of the application. |
url | string | Contains the absolute URL of the JavaScript module that is being executed. Example "romfs:/main.js" |