Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureDedicatedWorkerGlobalScopeRealm ¶ added in v0.11.0
func ConfigureDedicatedWorkerGlobalScopeRealm[T any](e js.ScriptEngine[T])
func ConfigureWindowRealm ¶ added in v0.11.0
func ConfigureWindowRealm[T any](e js.ScriptEngine[T])
func InstallPolyfills ¶ added in v0.8.0
func InstallPolyfills[T any](host js.ScriptEngine[T])
Types ¶
type ScriptEngineConfigurer ¶ added in v0.9.2
type ScriptEngineConfigurer[T any] struct { // contains filtered or unexported fields }
func CreateWindowsConfigurer ¶ added in v0.11.0
func CreateWindowsConfigurer[T any]() *ScriptEngineConfigurer[T]
CreateWindowsConfigurer returns a Configurer implementation that initializes the Window realm. Most of the initialization is auto-generated from web-IDL specs.
func NewScriptEngineConfigurer ¶ added in v0.11.0
func NewScriptEngineConfigurer[T any](i ...js.Configurer[T]) *ScriptEngineConfigurer[T]
func (*ScriptEngineConfigurer[T]) AddConfigurer ¶ added in v0.11.0
func (c *ScriptEngineConfigurer[T]) AddConfigurer(configurer js.Configurer[T])
func (*ScriptEngineConfigurer[T]) AddConfigurerFunc ¶ added in v0.11.0
func (c *ScriptEngineConfigurer[T]) AddConfigurerFunc(f func(js.ScriptEngine[T]))
func (*ScriptEngineConfigurer[T]) Configure ¶ added in v0.9.2
func (c *ScriptEngineConfigurer[T]) Configure(e js.ScriptEngine[T])
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package js provides an abstraction on top of script engines.
|
Package js provides an abstraction on top of script engines. |
|
Package mathml implements (part of) the MathML-Core web API
|
Package mathml implements (part of) the MathML-Core web API |
|
Package scripttests contains a specification of the behaviour of client-side scripting.
|
Package scripttests contains a specification of the behaviour of client-side scripting. |
|
testing
|
|
|
jsassert
Package jsassert is a failed attempt to write assertions in JavaScript
|
Package jsassert is a failed attempt to write assertions in JavaScript |
Click to show internal directories.
Click to hide internal directories.