RegisterOptions

sealed external interface RegisterOptions<Data>(source)

Properties

Link copied to clipboard
abstract var data: Data?

Any arbitrary, cloneable JavaScript value to pass into the {@link initialize} hook.

Link copied to clipboard
abstract var parentURL: Any?

If you want to resolve specifier relative to a base URL, such as import.meta.url, you can pass that URL here. This property is ignored if the parentURL is supplied as the second argument.

Link copied to clipboard
abstract var transferList: <Error class: unknown class><Any?>?

Transferable objects to be passed into the initialize hook.