webidl

package
v0.0.0-...-41cedfc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2022 License: BSD-3-Clause Imports: 1 Imported by: 6

Documentation

Overview

Package webidl contains types defined by WebIDL standard.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Function

type Function js.Func

Function is a javascript function type.

Call Release() when done to release resouces allocated to this type.

func FunctionToJS

func FunctionToJS(callback FunctionFunc) *Function

type FunctionFunc

type FunctionFunc func(arguments []js.Value) interface{}

callback: Function

func FunctionFromJS

func FunctionFromJS(_value js.Value) FunctionFunc

type Union

type Union struct {
	Value js.Value
}

func UnionFromJS

func UnionFromJS(value js.Value) *Union

func (*Union) JSValue

func (u *Union) JSValue() js.Value

type VoidFunction

type VoidFunction js.Func

VoidFunction is a javascript function type.

Call Release() when done to release resouces allocated to this type.

func VoidFunctionToJS

func VoidFunctionToJS(callback VoidFunctionFunc) *VoidFunction

type VoidFunctionFunc

type VoidFunctionFunc func()

callback: VoidFunction

func VoidFunctionFromJS

func VoidFunctionFromJS(_value js.Value) VoidFunctionFunc

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL