ImportMeta

@native @JSType trait ImportMeta extends StObject
Companion
object
trait StObject
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from
Object
def isPrototypeOf(v: Object): Boolean
Inherited from
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from
Object
def toLocaleString(): String
Inherited from
Object
def valueOf(): Any
Inherited from
Object

Concrete fields

var resolve: UndefOr[Function2[String, UndefOr[String | URL_], Promise[String]]]
Value Params
parent

The absolute parent module URL to resolve from. If none is specified, the value of import.meta.url is used as the default.

specified

The module specifier to resolve relative to parent.

var url: String