CreateContextOptions

@native @JSType trait CreateContextOptions 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 codeGeneration: UndefOr[Strings]

If set to afterEvaluate, microtasks will be run immediately after the script has run.

If set to afterEvaluate, microtasks will be run immediately after the script has run.

var name: UndefOr[String]

Human-readable name of the newly created context.

Human-readable name of the newly created context.

var origin: UndefOr[String]

Corresponds to the newly created context for display purposes. The origin should be formatted like a URL, but with only the scheme, host, and port (if necessary), like the value of the url.origin property of a URL object. Most notably, this string should omit the trailing slash, as that denotes a path.

Corresponds to the newly created context for display purposes. The origin should be formatted like a URL, but with only the scheme, host, and port (if necessary), like the value of the url.origin property of a URL object. Most notably, this string should omit the trailing slash, as that denotes a path.