webapi: github.com/gowebapi/webapi/javascript Index | Files | Directories

package javascript

import "github.com/gowebapi/webapi/javascript"

Package javascript contains types related to javascript language.

Index

Package Files

doc.go javascript.go

func DecodeURI Uses

func DecodeURI(encodedURI string) (_result string)

func DecodeURIComponent Uses

func DecodeURIComponent(encodedURI string) (_result string)

func EncodeURI Uses

func EncodeURI(uri string) (_result string)

func EncodeURIComponent Uses

func EncodeURIComponent(uri string) (_result string)

func Eval Uses

func Eval(code string) (_result js.Value)

func GlobalThis Uses

func GlobalThis() js.Value

GlobalThis returning attribute 'globalThis' with type Any (idl: any).

func IsArray Uses

func IsArray(value interface{}) (_result bool)

func IsFinite Uses

func IsFinite(value float64) (_result bool)

func IsNaN Uses

func IsNaN(value float64) (_result bool)

func ParseFloat Uses

func ParseFloat(value interface{}) (_result float64)

func ParseInt Uses

func ParseInt(value interface{}, radix int) (_result int)

type Array Uses

type Array struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: Array

func ArrayFromJS Uses

func ArrayFromJS(value js.Wrapper) *Array

ArrayFromJS is casting a js.Wrapper into Array.

func From Uses

func From(arrayLike interface{}, mapFn *ArrayMapFn, thisArg interface{}) (_result *Array)

func NewArray Uses

func NewArray(elements ...interface{}) (_result *Array)

func (*Array) Concat Uses

func (_this *Array) Concat(arrayOrValues interface{}) (_result *Array)

func (*Array) CopyWithin Uses

func (_this *Array) CopyWithin(target int, start *int, end *int) (_result *Array)

func (*Array) Entries Uses

func (_this *Array) Entries() (_result *ArrayEntryIterator)

func (*Array) Every Uses

func (_this *Array) Every(callback *ArrayTestCallback, thisArg interface{}) (_result bool)

func (*Array) Fill Uses

func (_this *Array) Fill(value interface{}, start *int, end *int) (_result *Array)

func (*Array) Filter Uses

func (_this *Array) Filter(callback *ArrayTestCallback, thisArg interface{}) (_result *Array)

func (*Array) Find Uses

func (_this *Array) Find(callback *ArrayTestCallback, thisArg interface{}) (_result js.Value)

func (*Array) FindIndex Uses

func (_this *Array) FindIndex(callback *ArrayTestCallback, thisArg interface{}) (_result int)

func (*Array) Flat Uses

func (_this *Array) Flat(depth *int) (_result *Array)

func (*Array) FlatMap Uses

func (_this *Array) FlatMap(callback *ArrayValueCallback, thisArg interface{}) (_result *Array)

func (*Array) ForEach Uses

func (_this *Array) ForEach(callback *ArrayForEachCallback, thisArg interface{})

func (*Array) Includes Uses

func (_this *Array) Includes(valueToFind interface{}, fromIndex int) (_result bool)

func (*Array) Index Uses

func (_this *Array) Index(index uint) (_result js.Value)

func (*Array) IndexOf Uses

func (_this *Array) IndexOf(value interface{}, fromIndex int) (_result int)

func (*Array) JSValue Uses

func (_this *Array) JSValue() js.Value

func (*Array) Join Uses

func (_this *Array) Join(separator *string) (_result string)

func (*Array) Keys Uses

func (_this *Array) Keys() (_result *ArrayKeyIterator)

func (*Array) LastIndexOf Uses

func (_this *Array) LastIndexOf(searchElement interface{}, fromIndex *int) (_result int)

func (*Array) Length Uses

func (_this *Array) Length() int

Length returning attribute 'length' with type int (idl: long).

func (*Array) Map Uses

func (_this *Array) Map(callback *ArrayMapCallback, thisArg interface{}) (_result *Array)

func (*Array) Pop Uses

func (_this *Array) Pop() (_result js.Value)

func (*Array) Push Uses

func (_this *Array) Push(element1 interface{}, elementN ...interface{}) (_result int)

func (*Array) Reduce Uses

func (_this *Array) Reduce(callback *ArrayReduceCallback, initailValue interface{}) (_result js.Value)

func (*Array) ReduceRight Uses

func (_this *Array) ReduceRight(callback *ArrayReduceCallback, initailValue interface{}) (_result js.Value)

func (*Array) Reverse Uses

func (_this *Array) Reverse() (_result *Array)

func (*Array) SetIndex Uses

func (_this *Array) SetIndex(index uint, value interface{})

func (*Array) Shift Uses

func (_this *Array) Shift() (_result js.Value)

func (*Array) Slice Uses

func (_this *Array) Slice(begin *int, end *int) (_result *Array)

func (*Array) Some Uses

func (_this *Array) Some(callback *ArrayTestCallback, thisArg interface{}) (_result bool)

func (*Array) Sort Uses

func (_this *Array) Sort(compare *ArrayCompareFunction) (_result *Array)

func (*Array) Splice Uses

func (_this *Array) Splice(start int, deleteCount int, itemsToAddAfterStart ...interface{}) (_result *Array)

func (*Array) ToLocaleString Uses

func (_this *Array) ToLocaleString(locales *string) (_result string)

func (*Array) ToString Uses

func (_this *Array) ToString() (_result string)

func (*Array) Unshift Uses

func (_this *Array) Unshift(element1 interface{}, elementN ...interface{}) (_result *Array)

func (*Array) Values Uses

func (_this *Array) Values() (_result *ArrayValueIterator)

type ArrayBuffer Uses

type ArrayBuffer struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: ArrayBuffer

func ArrayBufferFromJS Uses

func ArrayBufferFromJS(value js.Wrapper) *ArrayBuffer

ArrayBufferFromJS is casting a js.Wrapper into ArrayBuffer.

func (*ArrayBuffer) JSValue Uses

func (_this *ArrayBuffer) JSValue() js.Value

type ArrayCompareFunction Uses

type ArrayCompareFunction js.Func

ArrayCompareFunction is a javascript function type.

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

func ArrayCompareFunctionToJS Uses

func ArrayCompareFunctionToJS(callback ArrayCompareFunctionFunc) *ArrayCompareFunction

type ArrayCompareFunctionFunc Uses

type ArrayCompareFunctionFunc func(a js.Value, b js.Value) int

callback: ArrayCompareFunction

func ArrayCompareFunctionFromJS Uses

func ArrayCompareFunctionFromJS(_value js.Value) ArrayCompareFunctionFunc

type ArrayEntryIterator Uses

type ArrayEntryIterator struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: ArrayEntryIterator

func ArrayEntryIteratorFromJS Uses

func ArrayEntryIteratorFromJS(value js.Wrapper) *ArrayEntryIterator

ArrayEntryIteratorFromJS is casting a js.Wrapper into ArrayEntryIterator.

func (*ArrayEntryIterator) JSValue Uses

func (_this *ArrayEntryIterator) JSValue() js.Value

func (*ArrayEntryIterator) Next Uses

func (_this *ArrayEntryIterator) Next() (_result *ArrayEntryValue)

type ArrayEntryValue Uses

type ArrayEntryValue struct {
    Value []js.Value
    Done  bool
}

dictionary: ArrayEntryValue

func ArrayEntryValueFromJS Uses

func ArrayEntryValueFromJS(value js.Wrapper) *ArrayEntryValue

ArrayEntryValueFromJS is allocating a new ArrayEntryValue object and copy all values from input javascript object

func (*ArrayEntryValue) JSValue Uses

func (_this *ArrayEntryValue) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type ArrayForEachCallback Uses

type ArrayForEachCallback js.Func

ArrayForEachCallback is a javascript function type.

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

func ArrayForEachCallbackToJS Uses

func ArrayForEachCallbackToJS(callback ArrayForEachCallbackFunc) *ArrayForEachCallback

type ArrayForEachCallbackFunc Uses

type ArrayForEachCallbackFunc func(value js.Value, index int, array *Array)

callback: ArrayForEachCallback

func ArrayForEachCallbackFromJS Uses

func ArrayForEachCallbackFromJS(_value js.Value) ArrayForEachCallbackFunc

type ArrayKeyIterator Uses

type ArrayKeyIterator struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: ArrayKeyIterator

func ArrayKeyIteratorFromJS Uses

func ArrayKeyIteratorFromJS(value js.Wrapper) *ArrayKeyIterator

ArrayKeyIteratorFromJS is casting a js.Wrapper into ArrayKeyIterator.

func (*ArrayKeyIterator) JSValue Uses

func (_this *ArrayKeyIterator) JSValue() js.Value

func (*ArrayKeyIterator) Next Uses

func (_this *ArrayKeyIterator) Next() (_result *ArrayKeyValue)

type ArrayKeyValue Uses

type ArrayKeyValue struct {
    Value int
    Done  bool
}

dictionary: ArrayKeyValue

func ArrayKeyValueFromJS Uses

func ArrayKeyValueFromJS(value js.Wrapper) *ArrayKeyValue

ArrayKeyValueFromJS is allocating a new ArrayKeyValue object and copy all values from input javascript object

func (*ArrayKeyValue) JSValue Uses

func (_this *ArrayKeyValue) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type ArrayMapCallback Uses

type ArrayMapCallback js.Func

ArrayMapCallback is a javascript function type.

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

func ArrayMapCallbackToJS Uses

func ArrayMapCallbackToJS(callback ArrayMapCallbackFunc) *ArrayMapCallback

type ArrayMapCallbackFunc Uses

type ArrayMapCallbackFunc func(value js.Value, index int, array *Array) interface{}

callback: ArrayMapCallback

func ArrayMapCallbackFromJS Uses

func ArrayMapCallbackFromJS(_value js.Value) ArrayMapCallbackFunc

type ArrayMapFn Uses

type ArrayMapFn js.Func

ArrayMapFn is a javascript function type.

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

func ArrayMapFnToJS Uses

func ArrayMapFnToJS(callback ArrayMapFnFunc) *ArrayMapFn

type ArrayMapFnFunc Uses

type ArrayMapFnFunc func(value js.Value) interface{}

callback: ArrayMapFn

func ArrayMapFnFromJS Uses

func ArrayMapFnFromJS(_value js.Value) ArrayMapFnFunc

type ArrayReduceCallback Uses

type ArrayReduceCallback js.Func

ArrayReduceCallback is a javascript function type.

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

func ArrayReduceCallbackToJS Uses

func ArrayReduceCallbackToJS(callback ArrayReduceCallbackFunc) *ArrayReduceCallback

type ArrayReduceCallbackFunc Uses

type ArrayReduceCallbackFunc func(accumulator js.Value, currentValue js.Value, currentIndex int, array *Array) interface{}

callback: ArrayReduceCallback

func ArrayReduceCallbackFromJS Uses

func ArrayReduceCallbackFromJS(_value js.Value) ArrayReduceCallbackFunc

type ArrayTestCallback Uses

type ArrayTestCallback js.Func

ArrayTestCallback is a javascript function type.

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

func ArrayTestCallbackToJS Uses

func ArrayTestCallbackToJS(callback ArrayTestCallbackFunc) *ArrayTestCallback

type ArrayTestCallbackFunc Uses

type ArrayTestCallbackFunc func(element js.Value, index int, array *Array) bool

callback: ArrayTestCallback

func ArrayTestCallbackFromJS Uses

func ArrayTestCallbackFromJS(_value js.Value) ArrayTestCallbackFunc

type ArrayValueCallback Uses

type ArrayValueCallback js.Func

ArrayValueCallback is a javascript function type.

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

func ArrayValueCallbackToJS Uses

func ArrayValueCallbackToJS(callback ArrayValueCallbackFunc) *ArrayValueCallback

type ArrayValueCallbackFunc Uses

type ArrayValueCallbackFunc func(value js.Value, index int, array *Array) interface{}

callback: ArrayValueCallback

func ArrayValueCallbackFromJS Uses

func ArrayValueCallbackFromJS(_value js.Value) ArrayValueCallbackFunc

type ArrayValueIterator Uses

type ArrayValueIterator struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: ArrayValueIterator

func ArrayValueIteratorFromJS Uses

func ArrayValueIteratorFromJS(value js.Wrapper) *ArrayValueIterator

ArrayValueIteratorFromJS is casting a js.Wrapper into ArrayValueIterator.

func (*ArrayValueIterator) JSValue Uses

func (_this *ArrayValueIterator) JSValue() js.Value

func (*ArrayValueIterator) Next Uses

func (_this *ArrayValueIterator) Next() (_result *ArrayValueIteratorValue)

type ArrayValueIteratorValue Uses

type ArrayValueIteratorValue struct {
    Value js.Value
    Done  bool
}

dictionary: ArrayValueIteratorValue

func ArrayValueIteratorValueFromJS Uses

func ArrayValueIteratorValueFromJS(value js.Wrapper) *ArrayValueIteratorValue

ArrayValueIteratorValueFromJS is allocating a new ArrayValueIteratorValue object and copy all values from input javascript object

func (*ArrayValueIteratorValue) JSValue Uses

func (_this *ArrayValueIteratorValue) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type DataView Uses

type DataView struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: DataView

func DataViewFromJS Uses

func DataViewFromJS(value js.Wrapper) *DataView

DataViewFromJS is casting a js.Wrapper into DataView.

func (*DataView) JSValue Uses

func (_this *DataView) JSValue() js.Value

type Float32Array Uses

type Float32Array struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: Float32Array

func Float32ArrayFromJS Uses

func Float32ArrayFromJS(value js.Wrapper) *Float32Array

Float32ArrayFromJS is casting a js.Wrapper into Float32Array.

func (*Float32Array) JSValue Uses

func (_this *Float32Array) JSValue() js.Value

type Float64Array Uses

type Float64Array struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: Float64Array

func Float64ArrayFromJS Uses

func Float64ArrayFromJS(value js.Wrapper) *Float64Array

Float64ArrayFromJS is casting a js.Wrapper into Float64Array.

func (*Float64Array) JSValue Uses

func (_this *Float64Array) JSValue() js.Value

type FrozenArray Uses

type FrozenArray struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: FrozenArray

func FrozenArrayFromJS Uses

func FrozenArrayFromJS(value js.Wrapper) *FrozenArray

FrozenArrayFromJS is casting a js.Wrapper into FrozenArray.

func (*FrozenArray) JSValue Uses

func (_this *FrozenArray) JSValue() js.Value

type Int16Array Uses

type Int16Array struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: Int16Array

func Int16ArrayFromJS Uses

func Int16ArrayFromJS(value js.Wrapper) *Int16Array

Int16ArrayFromJS is casting a js.Wrapper into Int16Array.

func (*Int16Array) JSValue Uses

func (_this *Int16Array) JSValue() js.Value

type Int32Array Uses

type Int32Array struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: Int32Array

func Int32ArrayFromJS Uses

func Int32ArrayFromJS(value js.Wrapper) *Int32Array

Int32ArrayFromJS is casting a js.Wrapper into Int32Array.

func (*Int32Array) JSValue Uses

func (_this *Int32Array) JSValue() js.Value

type Int8Array Uses

type Int8Array struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: Int8Array

func Int8ArrayFromJS Uses

func Int8ArrayFromJS(value js.Wrapper) *Int8Array

Int8ArrayFromJS is casting a js.Wrapper into Int8Array.

func (*Int8Array) JSValue Uses

func (_this *Int8Array) JSValue() js.Value

type JavaScriptFunction Uses

type JavaScriptFunction struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: JavaScriptFunction

func JavaScriptFunctionFromJS Uses

func JavaScriptFunctionFromJS(value js.Wrapper) *JavaScriptFunction

JavaScriptFunctionFromJS is casting a js.Wrapper into JavaScriptFunction.

func NewJavaScriptFunction Uses

func NewJavaScriptFunction(argumentAndFunctionBody ...string) (_result *JavaScriptFunction)

func (*JavaScriptFunction) JSValue Uses

func (_this *JavaScriptFunction) JSValue() js.Value

func (*JavaScriptFunction) Length Uses

func (_this *JavaScriptFunction) Length() int

Length returning attribute 'length' with type int (idl: long).

func (*JavaScriptFunction) Name Uses

func (_this *JavaScriptFunction) Name() string

Name returning attribute 'name' with type string (idl: DOMString).

type Object Uses

type Object struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: object

func ObjectFromJS Uses

func ObjectFromJS(value js.Wrapper) *Object

ObjectFromJS is casting a js.Wrapper into Object.

func (*Object) JSValue Uses

func (_this *Object) JSValue() js.Value

type Promise Uses

type Promise struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: Promise

func PromiseFromJS Uses

func PromiseFromJS(value js.Wrapper) *Promise

PromiseFromJS is casting a js.Wrapper into Promise.

func (*Promise) Catch Uses

func (_this *Promise) Catch(onRejected *PromiseOnRejected) (_result *Promise)

func (*Promise) Finally Uses

func (_this *Promise) Finally(onFinally *PromiseFinally) (_result *Promise)

func (*Promise) JSValue Uses

func (_this *Promise) JSValue() js.Value

func (*Promise) Then Uses

func (_this *Promise) Then(onFulfilled *PromiseOnFulfilled, onRejected *PromiseOnRejected) (_result *Promise)

type PromiseArrayBuffer Uses

type PromiseArrayBuffer struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: Promise

func PromiseArrayBufferFromJS Uses

func PromiseArrayBufferFromJS(value js.Wrapper) *PromiseArrayBuffer

PromiseArrayBufferFromJS is casting a js.Wrapper into PromiseArrayBuffer.

func (*PromiseArrayBuffer) Catch Uses

func (_this *PromiseArrayBuffer) Catch(onRejected *PromiseArrayBufferOnRejected) (_result *PromiseArrayBuffer)

func (*PromiseArrayBuffer) Finally Uses

func (_this *PromiseArrayBuffer) Finally(onFinally *PromiseFinally) (_result *PromiseArrayBuffer)

func (*PromiseArrayBuffer) JSValue Uses

func (_this *PromiseArrayBuffer) JSValue() js.Value

func (*PromiseArrayBuffer) Then Uses

func (_this *PromiseArrayBuffer) Then(onFulfilled *PromiseArrayBufferOnFulfilled, onRejected *PromiseArrayBufferOnRejected) (_result *PromiseArrayBuffer)

type PromiseArrayBufferOnFulfilled Uses

type PromiseArrayBufferOnFulfilled js.Func

PromiseArrayBufferOnFulfilled is a javascript function type.

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

func PromiseArrayBufferOnFulfilledToJS Uses

func PromiseArrayBufferOnFulfilledToJS(callback PromiseArrayBufferOnFulfilledFunc) *PromiseArrayBufferOnFulfilled

type PromiseArrayBufferOnFulfilledFunc Uses

type PromiseArrayBufferOnFulfilledFunc func(value *ArrayBuffer)

callback: PromiseTemplateOnFulfilled

func PromiseArrayBufferOnFulfilledFromJS Uses

func PromiseArrayBufferOnFulfilledFromJS(_value js.Value) PromiseArrayBufferOnFulfilledFunc

type PromiseArrayBufferOnRejected Uses

type PromiseArrayBufferOnRejected js.Func

PromiseArrayBufferOnRejected is a javascript function type.

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

func PromiseArrayBufferOnRejectedToJS Uses

func PromiseArrayBufferOnRejectedToJS(callback PromiseArrayBufferOnRejectedFunc) *PromiseArrayBufferOnRejected

type PromiseArrayBufferOnRejectedFunc Uses

type PromiseArrayBufferOnRejectedFunc func(reason js.Value)

callback: PromiseTemplateOnRejected

func PromiseArrayBufferOnRejectedFromJS Uses

func PromiseArrayBufferOnRejectedFromJS(_value js.Value) PromiseArrayBufferOnRejectedFunc

type PromiseBool Uses

type PromiseBool struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: Promise

func PromiseBoolFromJS Uses

func PromiseBoolFromJS(value js.Wrapper) *PromiseBool

PromiseBoolFromJS is casting a js.Wrapper into PromiseBool.

func (*PromiseBool) Catch Uses

func (_this *PromiseBool) Catch(onRejected *PromiseBoolOnRejected) (_result *PromiseBool)

func (*PromiseBool) Finally Uses

func (_this *PromiseBool) Finally(onFinally *PromiseFinally) (_result *PromiseBool)

func (*PromiseBool) JSValue Uses

func (_this *PromiseBool) JSValue() js.Value

func (*PromiseBool) Then Uses

func (_this *PromiseBool) Then(onFulfilled *PromiseBoolOnFulfilled, onRejected *PromiseBoolOnRejected) (_result *PromiseBool)

type PromiseBoolOnFulfilled Uses

type PromiseBoolOnFulfilled js.Func

PromiseBoolOnFulfilled is a javascript function type.

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

func PromiseBoolOnFulfilledToJS Uses

func PromiseBoolOnFulfilledToJS(callback PromiseBoolOnFulfilledFunc) *PromiseBoolOnFulfilled

type PromiseBoolOnFulfilledFunc Uses

type PromiseBoolOnFulfilledFunc func(value bool)

callback: PromiseTemplateOnFulfilled

func PromiseBoolOnFulfilledFromJS Uses

func PromiseBoolOnFulfilledFromJS(_value js.Value) PromiseBoolOnFulfilledFunc

type PromiseBoolOnRejected Uses

type PromiseBoolOnRejected js.Func

PromiseBoolOnRejected is a javascript function type.

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

func PromiseBoolOnRejectedToJS Uses

func PromiseBoolOnRejectedToJS(callback PromiseBoolOnRejectedFunc) *PromiseBoolOnRejected

type PromiseBoolOnRejectedFunc Uses

type PromiseBoolOnRejectedFunc func(reason js.Value)

callback: PromiseTemplateOnRejected

func PromiseBoolOnRejectedFromJS Uses

func PromiseBoolOnRejectedFromJS(_value js.Value) PromiseBoolOnRejectedFunc

type PromiseDataView Uses

type PromiseDataView struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: Promise

func PromiseDataViewFromJS Uses

func PromiseDataViewFromJS(value js.Wrapper) *PromiseDataView

PromiseDataViewFromJS is casting a js.Wrapper into PromiseDataView.

func (*PromiseDataView) Catch Uses

func (_this *PromiseDataView) Catch(onRejected *PromiseDataViewOnRejected) (_result *PromiseDataView)

func (*PromiseDataView) Finally Uses

func (_this *PromiseDataView) Finally(onFinally *PromiseFinally) (_result *PromiseDataView)

func (*PromiseDataView) JSValue Uses

func (_this *PromiseDataView) JSValue() js.Value

func (*PromiseDataView) Then Uses

func (_this *PromiseDataView) Then(onFulfilled *PromiseDataViewOnFulfilled, onRejected *PromiseDataViewOnRejected) (_result *PromiseDataView)

type PromiseDataViewOnFulfilled Uses

type PromiseDataViewOnFulfilled js.Func

PromiseDataViewOnFulfilled is a javascript function type.

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

func PromiseDataViewOnFulfilledToJS Uses

func PromiseDataViewOnFulfilledToJS(callback PromiseDataViewOnFulfilledFunc) *PromiseDataViewOnFulfilled

type PromiseDataViewOnFulfilledFunc Uses

type PromiseDataViewOnFulfilledFunc func(value *DataView)

callback: PromiseTemplateOnFulfilled

func PromiseDataViewOnFulfilledFromJS Uses

func PromiseDataViewOnFulfilledFromJS(_value js.Value) PromiseDataViewOnFulfilledFunc

type PromiseDataViewOnRejected Uses

type PromiseDataViewOnRejected js.Func

PromiseDataViewOnRejected is a javascript function type.

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

func PromiseDataViewOnRejectedToJS Uses

func PromiseDataViewOnRejectedToJS(callback PromiseDataViewOnRejectedFunc) *PromiseDataViewOnRejected

type PromiseDataViewOnRejectedFunc Uses

type PromiseDataViewOnRejectedFunc func(reason js.Value)

callback: PromiseTemplateOnRejected

func PromiseDataViewOnRejectedFromJS Uses

func PromiseDataViewOnRejectedFromJS(_value js.Value) PromiseDataViewOnRejectedFunc

type PromiseFinally Uses

type PromiseFinally js.Func

PromiseFinally is a javascript function type.

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

func PromiseFinallyToJS Uses

func PromiseFinallyToJS(callback PromiseFinallyFunc) *PromiseFinally

type PromiseFinallyFunc Uses

type PromiseFinallyFunc func()

callback: PromiseFinally

func PromiseFinallyFromJS Uses

func PromiseFinallyFromJS(_value js.Value) PromiseFinallyFunc

type PromiseFrozenArray Uses

type PromiseFrozenArray struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: Promise

func PromiseFrozenArrayFromJS Uses

func PromiseFrozenArrayFromJS(value js.Wrapper) *PromiseFrozenArray

PromiseFrozenArrayFromJS is casting a js.Wrapper into PromiseFrozenArray.

func (*PromiseFrozenArray) Catch Uses

func (_this *PromiseFrozenArray) Catch(onRejected *PromiseFrozenArrayOnRejected) (_result *PromiseFrozenArray)

func (*PromiseFrozenArray) Finally Uses

func (_this *PromiseFrozenArray) Finally(onFinally *PromiseFinally) (_result *PromiseFrozenArray)

func (*PromiseFrozenArray) JSValue Uses

func (_this *PromiseFrozenArray) JSValue() js.Value

func (*PromiseFrozenArray) Then Uses

func (_this *PromiseFrozenArray) Then(onFulfilled *PromiseFrozenArrayOnFulfilled, onRejected *PromiseFrozenArrayOnRejected) (_result *PromiseFrozenArray)

type PromiseFrozenArrayOnFulfilled Uses

type PromiseFrozenArrayOnFulfilled js.Func

PromiseFrozenArrayOnFulfilled is a javascript function type.

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

func PromiseFrozenArrayOnFulfilledToJS Uses

func PromiseFrozenArrayOnFulfilledToJS(callback PromiseFrozenArrayOnFulfilledFunc) *PromiseFrozenArrayOnFulfilled

type PromiseFrozenArrayOnFulfilledFunc Uses

type PromiseFrozenArrayOnFulfilledFunc func(value *FrozenArray)

callback: PromiseTemplateOnFulfilled

func PromiseFrozenArrayOnFulfilledFromJS Uses

func PromiseFrozenArrayOnFulfilledFromJS(_value js.Value) PromiseFrozenArrayOnFulfilledFunc

type PromiseFrozenArrayOnRejected Uses

type PromiseFrozenArrayOnRejected js.Func

PromiseFrozenArrayOnRejected is a javascript function type.

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

func PromiseFrozenArrayOnRejectedToJS Uses

func PromiseFrozenArrayOnRejectedToJS(callback PromiseFrozenArrayOnRejectedFunc) *PromiseFrozenArrayOnRejected

type PromiseFrozenArrayOnRejectedFunc Uses

type PromiseFrozenArrayOnRejectedFunc func(reason js.Value)

callback: PromiseTemplateOnRejected

func PromiseFrozenArrayOnRejectedFromJS Uses

func PromiseFrozenArrayOnRejectedFromJS(_value js.Value) PromiseFrozenArrayOnRejectedFunc

type PromiseInt Uses

type PromiseInt struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: Promise

func PromiseIntFromJS Uses

func PromiseIntFromJS(value js.Wrapper) *PromiseInt

PromiseIntFromJS is casting a js.Wrapper into PromiseInt.

func (*PromiseInt) Catch Uses

func (_this *PromiseInt) Catch(onRejected *PromiseIntOnRejected) (_result *PromiseInt)

func (*PromiseInt) Finally Uses

func (_this *PromiseInt) Finally(onFinally *PromiseFinally) (_result *PromiseInt)

func (*PromiseInt) JSValue Uses

func (_this *PromiseInt) JSValue() js.Value

func (*PromiseInt) Then Uses

func (_this *PromiseInt) Then(onFulfilled *PromiseIntOnFulfilled, onRejected *PromiseIntOnRejected) (_result *PromiseInt)

type PromiseIntOnFulfilled Uses

type PromiseIntOnFulfilled js.Func

PromiseIntOnFulfilled is a javascript function type.

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

func PromiseIntOnFulfilledToJS Uses

func PromiseIntOnFulfilledToJS(callback PromiseIntOnFulfilledFunc) *PromiseIntOnFulfilled

type PromiseIntOnFulfilledFunc Uses

type PromiseIntOnFulfilledFunc func(value int)

callback: PromiseTemplateOnFulfilled

func PromiseIntOnFulfilledFromJS Uses

func PromiseIntOnFulfilledFromJS(_value js.Value) PromiseIntOnFulfilledFunc

type PromiseIntOnRejected Uses

type PromiseIntOnRejected js.Func

PromiseIntOnRejected is a javascript function type.

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

func PromiseIntOnRejectedToJS Uses

func PromiseIntOnRejectedToJS(callback PromiseIntOnRejectedFunc) *PromiseIntOnRejected

type PromiseIntOnRejectedFunc Uses

type PromiseIntOnRejectedFunc func(reason js.Value)

callback: PromiseTemplateOnRejected

func PromiseIntOnRejectedFromJS Uses

func PromiseIntOnRejectedFromJS(_value js.Value) PromiseIntOnRejectedFunc

type PromiseOnFulfilled Uses

type PromiseOnFulfilled js.Func

PromiseOnFulfilled is a javascript function type.

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

func PromiseOnFulfilledToJS Uses

func PromiseOnFulfilledToJS(callback PromiseOnFulfilledFunc) *PromiseOnFulfilled

type PromiseOnFulfilledFunc Uses

type PromiseOnFulfilledFunc func(value js.Value)

callback: PromiseOnFulfilled

func PromiseOnFulfilledFromJS Uses

func PromiseOnFulfilledFromJS(_value js.Value) PromiseOnFulfilledFunc

type PromiseOnRejected Uses

type PromiseOnRejected js.Func

PromiseOnRejected is a javascript function type.

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

func PromiseOnRejectedToJS Uses

func PromiseOnRejectedToJS(callback PromiseOnRejectedFunc) *PromiseOnRejected

type PromiseOnRejectedFunc Uses

type PromiseOnRejectedFunc func(reason js.Value)

callback: PromiseOnRejected

func PromiseOnRejectedFromJS Uses

func PromiseOnRejectedFromJS(_value js.Value) PromiseOnRejectedFunc

type PromiseSequenceString Uses

type PromiseSequenceString struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: Promise

func PromiseSequenceStringFromJS Uses

func PromiseSequenceStringFromJS(value js.Wrapper) *PromiseSequenceString

PromiseSequenceStringFromJS is casting a js.Wrapper into PromiseSequenceString.

func (*PromiseSequenceString) Catch Uses

func (_this *PromiseSequenceString) Catch(onRejected *PromiseSequenceStringOnRejected) (_result *PromiseSequenceString)

func (*PromiseSequenceString) Finally Uses

func (_this *PromiseSequenceString) Finally(onFinally *PromiseFinally) (_result *PromiseSequenceString)

func (*PromiseSequenceString) JSValue Uses

func (_this *PromiseSequenceString) JSValue() js.Value

func (*PromiseSequenceString) Then Uses

func (_this *PromiseSequenceString) Then(onFulfilled *PromiseSequenceStringOnFulfilled, onRejected *PromiseSequenceStringOnRejected) (_result *PromiseSequenceString)

type PromiseSequenceStringOnFulfilled Uses

type PromiseSequenceStringOnFulfilled js.Func

PromiseSequenceStringOnFulfilled is a javascript function type.

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

func PromiseSequenceStringOnFulfilledToJS Uses

func PromiseSequenceStringOnFulfilledToJS(callback PromiseSequenceStringOnFulfilledFunc) *PromiseSequenceStringOnFulfilled

type PromiseSequenceStringOnFulfilledFunc Uses

type PromiseSequenceStringOnFulfilledFunc func(value []string)

callback: PromiseTemplateOnFulfilled

func PromiseSequenceStringOnFulfilledFromJS Uses

func PromiseSequenceStringOnFulfilledFromJS(_value js.Value) PromiseSequenceStringOnFulfilledFunc

type PromiseSequenceStringOnRejected Uses

type PromiseSequenceStringOnRejected js.Func

PromiseSequenceStringOnRejected is a javascript function type.

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

func PromiseSequenceStringOnRejectedToJS Uses

func PromiseSequenceStringOnRejectedToJS(callback PromiseSequenceStringOnRejectedFunc) *PromiseSequenceStringOnRejected

type PromiseSequenceStringOnRejectedFunc Uses

type PromiseSequenceStringOnRejectedFunc func(reason js.Value)

callback: PromiseTemplateOnRejected

func PromiseSequenceStringOnRejectedFromJS Uses

func PromiseSequenceStringOnRejectedFromJS(_value js.Value) PromiseSequenceStringOnRejectedFunc

type PromiseString Uses

type PromiseString struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: Promise

func PromiseStringFromJS Uses

func PromiseStringFromJS(value js.Wrapper) *PromiseString

PromiseStringFromJS is casting a js.Wrapper into PromiseString.

func (*PromiseString) Catch Uses

func (_this *PromiseString) Catch(onRejected *PromiseStringOnRejected) (_result *PromiseString)

func (*PromiseString) Finally Uses

func (_this *PromiseString) Finally(onFinally *PromiseFinally) (_result *PromiseString)

func (*PromiseString) JSValue Uses

func (_this *PromiseString) JSValue() js.Value

func (*PromiseString) Then Uses

func (_this *PromiseString) Then(onFulfilled *PromiseStringOnFulfilled, onRejected *PromiseStringOnRejected) (_result *PromiseString)

type PromiseStringOnFulfilled Uses

type PromiseStringOnFulfilled js.Func

PromiseStringOnFulfilled is a javascript function type.

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

func PromiseStringOnFulfilledToJS Uses

func PromiseStringOnFulfilledToJS(callback PromiseStringOnFulfilledFunc) *PromiseStringOnFulfilled

type PromiseStringOnFulfilledFunc Uses

type PromiseStringOnFulfilledFunc func(value string)

callback: PromiseTemplateOnFulfilled

func PromiseStringOnFulfilledFromJS Uses

func PromiseStringOnFulfilledFromJS(_value js.Value) PromiseStringOnFulfilledFunc

type PromiseStringOnRejected Uses

type PromiseStringOnRejected js.Func

PromiseStringOnRejected is a javascript function type.

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

func PromiseStringOnRejectedToJS Uses

func PromiseStringOnRejectedToJS(callback PromiseStringOnRejectedFunc) *PromiseStringOnRejected

type PromiseStringOnRejectedFunc Uses

type PromiseStringOnRejectedFunc func(reason js.Value)

callback: PromiseTemplateOnRejected

func PromiseStringOnRejectedFromJS Uses

func PromiseStringOnRejectedFromJS(_value js.Value) PromiseStringOnRejectedFunc

type PromiseVoid Uses

type PromiseVoid struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: PromiseVoid

func PromiseVoidFromJS Uses

func PromiseVoidFromJS(value js.Wrapper) *PromiseVoid

PromiseVoidFromJS is casting a js.Wrapper into PromiseVoid.

func (*PromiseVoid) Catch Uses

func (_this *PromiseVoid) Catch(onRejected *PromiseVoidOnRejected) (_result *PromiseVoid)

func (*PromiseVoid) Finally Uses

func (_this *PromiseVoid) Finally(onFinally *PromiseFinally) (_result *PromiseVoid)

func (*PromiseVoid) JSValue Uses

func (_this *PromiseVoid) JSValue() js.Value

func (*PromiseVoid) Then Uses

func (_this *PromiseVoid) Then(onFulfilled *PromiseVoidOnFulfilled, onRejected *PromiseVoidOnRejected) (_result *PromiseVoid)

type PromiseVoidOnFulfilled Uses

type PromiseVoidOnFulfilled js.Func

PromiseVoidOnFulfilled is a javascript function type.

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

func PromiseVoidOnFulfilledToJS Uses

func PromiseVoidOnFulfilledToJS(callback PromiseVoidOnFulfilledFunc) *PromiseVoidOnFulfilled

type PromiseVoidOnFulfilledFunc Uses

type PromiseVoidOnFulfilledFunc func()

callback: PromiseVoidOnFulfilled

func PromiseVoidOnFulfilledFromJS Uses

func PromiseVoidOnFulfilledFromJS(_value js.Value) PromiseVoidOnFulfilledFunc

type PromiseVoidOnRejected Uses

type PromiseVoidOnRejected js.Func

PromiseVoidOnRejected is a javascript function type.

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

func PromiseVoidOnRejectedToJS Uses

func PromiseVoidOnRejectedToJS(callback PromiseVoidOnRejectedFunc) *PromiseVoidOnRejected

type PromiseVoidOnRejectedFunc Uses

type PromiseVoidOnRejectedFunc func(reason js.Value)

callback: PromiseVoidOnRejected

func PromiseVoidOnRejectedFromJS Uses

func PromiseVoidOnRejectedFromJS(_value js.Value) PromiseVoidOnRejectedFunc

type Uint16Array Uses

type Uint16Array struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: Uint16Array

func Uint16ArrayFromJS Uses

func Uint16ArrayFromJS(value js.Wrapper) *Uint16Array

Uint16ArrayFromJS is casting a js.Wrapper into Uint16Array.

func (*Uint16Array) JSValue Uses

func (_this *Uint16Array) JSValue() js.Value

type Uint32Array Uses

type Uint32Array struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: Uint32Array

func Uint32ArrayFromJS Uses

func Uint32ArrayFromJS(value js.Wrapper) *Uint32Array

Uint32ArrayFromJS is casting a js.Wrapper into Uint32Array.

func (*Uint32Array) JSValue Uses

func (_this *Uint32Array) JSValue() js.Value

type Uint8Array Uses

type Uint8Array struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: Uint8Array

func Uint8ArrayFromJS Uses

func Uint8ArrayFromJS(value js.Wrapper) *Uint8Array

Uint8ArrayFromJS is casting a js.Wrapper into Uint8Array.

func (*Uint8Array) JSValue Uses

func (_this *Uint8Array) JSValue() js.Value

type Union Uses

type Union struct {
    Value js.Value
}

func UnionFromJS Uses

func UnionFromJS(value js.Value) *Union

func (*Union) JSValue Uses

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

Directories

PathSynopsis
missingtypesPackage missingtypes contains types that can't be found.

Package javascript imports 1 packages (graph) and is imported by 64 packages. Updated 2019-09-17. Refresh now. Tools for package owners.