typedom

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: 3 Imported by: 8

Documentation

Overview

Package typedom is exposing CSS values as typed javascript object to reduce performance overhead when dealing with CSSOM value strings.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CSSImageValue

type CSSImageValue struct {
	CSSStyleValue
}

class: CSSImageValue

func CSSImageValueFromJS

func CSSImageValueFromJS(value js.Value) *CSSImageValue

CSSImageValueFromJS is casting a js.Value into CSSImageValue.

func CSSImageValueFromWrapper

func CSSImageValueFromWrapper(input core.Wrapper) *CSSImageValue

CSSImageValueFromJS is casting from something that holds a js.Value into CSSImageValue.

type CSSKeywordValue

type CSSKeywordValue struct {
	CSSStyleValue
}

class: CSSKeywordValue

func CSSKeywordValueFromJS

func CSSKeywordValueFromJS(value js.Value) *CSSKeywordValue

CSSKeywordValueFromJS is casting a js.Value into CSSKeywordValue.

func CSSKeywordValueFromWrapper

func CSSKeywordValueFromWrapper(input core.Wrapper) *CSSKeywordValue

CSSKeywordValueFromJS is casting from something that holds a js.Value into CSSKeywordValue.

func NewCSSKeywordValue

func NewCSSKeywordValue(value string) (_result *CSSKeywordValue)

func (*CSSKeywordValue) SetValue

func (_this *CSSKeywordValue) SetValue(value string)

SetValue setting attribute 'value' with type string (idl: USVString).

func (*CSSKeywordValue) Value

func (_this *CSSKeywordValue) Value() string

Value returning attribute 'value' with type string (idl: USVString).

type CSSMathClamp

type CSSMathClamp struct {
	CSSMathValue
}

class: CSSMathClamp

func CSSMathClampFromJS

func CSSMathClampFromJS(value js.Value) *CSSMathClamp

CSSMathClampFromJS is casting a js.Value into CSSMathClamp.

func CSSMathClampFromWrapper

func CSSMathClampFromWrapper(input core.Wrapper) *CSSMathClamp

CSSMathClampFromJS is casting from something that holds a js.Value into CSSMathClamp.

func NewCSSMathClamp

func NewCSSMathClamp(min *Union, val *Union, max *Union) (_result *CSSMathClamp)

func (*CSSMathClamp) Max

func (_this *CSSMathClamp) Max() *CSSNumericValue

Max returning attribute 'max' with type CSSNumericValue (idl: CSSNumericValue).

func (*CSSMathClamp) Min

func (_this *CSSMathClamp) Min() *CSSNumericValue

Min returning attribute 'min' with type CSSNumericValue (idl: CSSNumericValue).

func (*CSSMathClamp) Val

func (_this *CSSMathClamp) Val() *CSSNumericValue

Val returning attribute 'val' with type CSSNumericValue (idl: CSSNumericValue).

type CSSMathInvert

type CSSMathInvert struct {
	CSSMathValue
}

class: CSSMathInvert

func CSSMathInvertFromJS

func CSSMathInvertFromJS(value js.Value) *CSSMathInvert

CSSMathInvertFromJS is casting a js.Value into CSSMathInvert.

func CSSMathInvertFromWrapper

func CSSMathInvertFromWrapper(input core.Wrapper) *CSSMathInvert

CSSMathInvertFromJS is casting from something that holds a js.Value into CSSMathInvert.

func NewCSSMathInvert

func NewCSSMathInvert(arg *Union) (_result *CSSMathInvert)

func (*CSSMathInvert) Value

func (_this *CSSMathInvert) Value() *CSSNumericValue

Value returning attribute 'value' with type CSSNumericValue (idl: CSSNumericValue).

type CSSMathMax

type CSSMathMax struct {
	CSSMathValue
}

class: CSSMathMax

func CSSMathMaxFromJS

func CSSMathMaxFromJS(value js.Value) *CSSMathMax

CSSMathMaxFromJS is casting a js.Value into CSSMathMax.

func CSSMathMaxFromWrapper

func CSSMathMaxFromWrapper(input core.Wrapper) *CSSMathMax

CSSMathMaxFromJS is casting from something that holds a js.Value into CSSMathMax.

func NewCSSMathMax

func NewCSSMathMax(args ...*Union) (_result *CSSMathMax)

func (*CSSMathMax) Values

func (_this *CSSMathMax) Values() *CSSNumericArray

Values returning attribute 'values' with type CSSNumericArray (idl: CSSNumericArray).

type CSSMathMin

type CSSMathMin struct {
	CSSMathValue
}

class: CSSMathMin

func CSSMathMinFromJS

func CSSMathMinFromJS(value js.Value) *CSSMathMin

CSSMathMinFromJS is casting a js.Value into CSSMathMin.

func CSSMathMinFromWrapper

func CSSMathMinFromWrapper(input core.Wrapper) *CSSMathMin

CSSMathMinFromJS is casting from something that holds a js.Value into CSSMathMin.

func NewCSSMathMin

func NewCSSMathMin(args ...*Union) (_result *CSSMathMin)

func (*CSSMathMin) Values

func (_this *CSSMathMin) Values() *CSSNumericArray

Values returning attribute 'values' with type CSSNumericArray (idl: CSSNumericArray).

type CSSMathNegate

type CSSMathNegate struct {
	CSSMathValue
}

class: CSSMathNegate

func CSSMathNegateFromJS

func CSSMathNegateFromJS(value js.Value) *CSSMathNegate

CSSMathNegateFromJS is casting a js.Value into CSSMathNegate.

func CSSMathNegateFromWrapper

func CSSMathNegateFromWrapper(input core.Wrapper) *CSSMathNegate

CSSMathNegateFromJS is casting from something that holds a js.Value into CSSMathNegate.

func NewCSSMathNegate

func NewCSSMathNegate(arg *Union) (_result *CSSMathNegate)

func (*CSSMathNegate) Value

func (_this *CSSMathNegate) Value() *CSSNumericValue

Value returning attribute 'value' with type CSSNumericValue (idl: CSSNumericValue).

type CSSMathOperator

type CSSMathOperator int

enum: CSSMathOperator

const (
	SumCSSMathOperator CSSMathOperator = iota
	ProductCSSMathOperator
	NegateCSSMathOperator
	InvertCSSMathOperator
	MinCSSMathOperator
	MaxCSSMathOperator
	ClampCSSMathOperator
)

func CSSMathOperatorFromJS

func CSSMathOperatorFromJS(value js.Value) CSSMathOperator

CSSMathOperatorFromJS is converting a javascript value into a CSSMathOperator enum value.

func (*CSSMathOperator) JSValue

func (this *CSSMathOperator) JSValue() js.Value

JSValue is converting this enum into a javascript object

func (CSSMathOperator) Value

func (this CSSMathOperator) Value() string

Value is converting this into javascript defined string value

type CSSMathProduct

type CSSMathProduct struct {
	CSSMathValue
}

class: CSSMathProduct

func CSSMathProductFromJS

func CSSMathProductFromJS(value js.Value) *CSSMathProduct

CSSMathProductFromJS is casting a js.Value into CSSMathProduct.

func CSSMathProductFromWrapper

func CSSMathProductFromWrapper(input core.Wrapper) *CSSMathProduct

CSSMathProductFromJS is casting from something that holds a js.Value into CSSMathProduct.

func NewCSSMathProduct

func NewCSSMathProduct(args ...*Union) (_result *CSSMathProduct)

func (*CSSMathProduct) Values

func (_this *CSSMathProduct) Values() *CSSNumericArray

Values returning attribute 'values' with type CSSNumericArray (idl: CSSNumericArray).

type CSSMathSum

type CSSMathSum struct {
	CSSMathValue
}

class: CSSMathSum

func CSSMathSumFromJS

func CSSMathSumFromJS(value js.Value) *CSSMathSum

CSSMathSumFromJS is casting a js.Value into CSSMathSum.

func CSSMathSumFromWrapper

func CSSMathSumFromWrapper(input core.Wrapper) *CSSMathSum

CSSMathSumFromJS is casting from something that holds a js.Value into CSSMathSum.

func NewCSSMathSum

func NewCSSMathSum(args ...*Union) (_result *CSSMathSum)

func (*CSSMathSum) Values

func (_this *CSSMathSum) Values() *CSSNumericArray

Values returning attribute 'values' with type CSSNumericArray (idl: CSSNumericArray).

type CSSMathValue

type CSSMathValue struct {
	CSSNumericValue
}

class: CSSMathValue

func CSSMathValueFromJS

func CSSMathValueFromJS(value js.Value) *CSSMathValue

CSSMathValueFromJS is casting a js.Value into CSSMathValue.

func CSSMathValueFromWrapper

func CSSMathValueFromWrapper(input core.Wrapper) *CSSMathValue

CSSMathValueFromJS is casting from something that holds a js.Value into CSSMathValue.

func (*CSSMathValue) Operator

func (_this *CSSMathValue) Operator() CSSMathOperator

Operator returning attribute 'operator' with type CSSMathOperator (idl: CSSMathOperator).

type CSSMatrixComponent

type CSSMatrixComponent struct {
	CSSTransformComponent
}

class: CSSMatrixComponent

func CSSMatrixComponentFromJS

func CSSMatrixComponentFromJS(value js.Value) *CSSMatrixComponent

CSSMatrixComponentFromJS is casting a js.Value into CSSMatrixComponent.

func CSSMatrixComponentFromWrapper

func CSSMatrixComponentFromWrapper(input core.Wrapper) *CSSMatrixComponent

CSSMatrixComponentFromJS is casting from something that holds a js.Value into CSSMatrixComponent.

func NewCSSMatrixComponent

func NewCSSMatrixComponent(matrix *geometry.DOMMatrixReadOnly, options *CSSMatrixComponentOptions) (_result *CSSMatrixComponent)

func (*CSSMatrixComponent) Matrix

func (_this *CSSMatrixComponent) Matrix() *geometry.DOMMatrix

Matrix returning attribute 'matrix' with type geometry.DOMMatrix (idl: DOMMatrix).

func (*CSSMatrixComponent) SetMatrix

func (_this *CSSMatrixComponent) SetMatrix(value *geometry.DOMMatrix)

SetMatrix setting attribute 'matrix' with type geometry.DOMMatrix (idl: DOMMatrix).

type CSSMatrixComponentOptions

type CSSMatrixComponentOptions struct {
	Is2D bool
}

dictionary: CSSMatrixComponentOptions

func CSSMatrixComponentOptionsFromJS

func CSSMatrixComponentOptionsFromJS(value js.Value) *CSSMatrixComponentOptions

CSSMatrixComponentOptionsFromJS is allocating a new CSSMatrixComponentOptions object and copy all values in the value javascript object.

func (*CSSMatrixComponentOptions) JSValue

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

JSValue is allocating a new javascript object and copy all values

type CSSNumericArray

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

class: CSSNumericArray

func CSSNumericArrayFromJS

func CSSNumericArrayFromJS(value js.Value) *CSSNumericArray

CSSNumericArrayFromJS is casting a js.Value into CSSNumericArray.

func CSSNumericArrayFromWrapper

func CSSNumericArrayFromWrapper(input core.Wrapper) *CSSNumericArray

CSSNumericArrayFromJS is casting from something that holds a js.Value into CSSNumericArray.

func (*CSSNumericArray) Entries

func (_this *CSSNumericArray) Entries() (_result *CSSNumericArrayEntryIterator)

func (*CSSNumericArray) ForEach

func (_this *CSSNumericArray) ForEach(callback *CSSNumericArrayForEach, optionalThisForCallbackArgument interface{})

func (*CSSNumericArray) Index

func (_this *CSSNumericArray) Index(index uint) (_result *CSSNumericValue)

func (*CSSNumericArray) JSValue

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

JSValue returns the js.Value or js.Null() if _this is nil

func (*CSSNumericArray) Keys

func (_this *CSSNumericArray) Keys() (_result *CSSNumericArrayKeyIterator)

func (*CSSNumericArray) Length

func (_this *CSSNumericArray) Length() uint

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

func (*CSSNumericArray) Values

func (_this *CSSNumericArray) Values() (_result *CSSNumericArrayValueIterator)

type CSSNumericArrayEntryIterator

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

class: CSSNumericArrayEntryIterator

func CSSNumericArrayEntryIteratorFromJS

func CSSNumericArrayEntryIteratorFromJS(value js.Value) *CSSNumericArrayEntryIterator

CSSNumericArrayEntryIteratorFromJS is casting a js.Value into CSSNumericArrayEntryIterator.

func CSSNumericArrayEntryIteratorFromWrapper

func CSSNumericArrayEntryIteratorFromWrapper(input core.Wrapper) *CSSNumericArrayEntryIterator

CSSNumericArrayEntryIteratorFromJS is casting from something that holds a js.Value into CSSNumericArrayEntryIterator.

func (*CSSNumericArrayEntryIterator) JSValue

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

JSValue returns the js.Value or js.Null() if _this is nil

func (*CSSNumericArrayEntryIterator) Next

type CSSNumericArrayEntryIteratorValue

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

dictionary: CSSNumericArrayEntryIteratorValue

func CSSNumericArrayEntryIteratorValueFromJS

func CSSNumericArrayEntryIteratorValueFromJS(value js.Value) *CSSNumericArrayEntryIteratorValue

CSSNumericArrayEntryIteratorValueFromJS is allocating a new CSSNumericArrayEntryIteratorValue object and copy all values in the value javascript object.

func (*CSSNumericArrayEntryIteratorValue) JSValue

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

JSValue is allocating a new javascript object and copy all values

type CSSNumericArrayForEach

type CSSNumericArrayForEach js.Func

CSSNumericArrayForEach is a javascript function type.

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

func CSSNumericArrayForEachToJS

func CSSNumericArrayForEachToJS(callback CSSNumericArrayForEachFunc) *CSSNumericArrayForEach

type CSSNumericArrayForEachFunc

type CSSNumericArrayForEachFunc func(currentValue *CSSNumericValue, currentIndex int, listObj *CSSNumericArray)

callback: CSSNumericArrayForEach

func CSSNumericArrayForEachFromJS

func CSSNumericArrayForEachFromJS(_value js.Value) CSSNumericArrayForEachFunc

type CSSNumericArrayKeyIterator

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

class: CSSNumericArrayKeyIterator

func CSSNumericArrayKeyIteratorFromJS

func CSSNumericArrayKeyIteratorFromJS(value js.Value) *CSSNumericArrayKeyIterator

CSSNumericArrayKeyIteratorFromJS is casting a js.Value into CSSNumericArrayKeyIterator.

func CSSNumericArrayKeyIteratorFromWrapper

func CSSNumericArrayKeyIteratorFromWrapper(input core.Wrapper) *CSSNumericArrayKeyIterator

CSSNumericArrayKeyIteratorFromJS is casting from something that holds a js.Value into CSSNumericArrayKeyIterator.

func (*CSSNumericArrayKeyIterator) JSValue

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

JSValue returns the js.Value or js.Null() if _this is nil

func (*CSSNumericArrayKeyIterator) Next

type CSSNumericArrayKeyIteratorValue

type CSSNumericArrayKeyIteratorValue struct {
	Value uint
	Done  bool
}

dictionary: CSSNumericArrayKeyIteratorValue

func CSSNumericArrayKeyIteratorValueFromJS

func CSSNumericArrayKeyIteratorValueFromJS(value js.Value) *CSSNumericArrayKeyIteratorValue

CSSNumericArrayKeyIteratorValueFromJS is allocating a new CSSNumericArrayKeyIteratorValue object and copy all values in the value javascript object.

func (*CSSNumericArrayKeyIteratorValue) JSValue

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

JSValue is allocating a new javascript object and copy all values

type CSSNumericArrayValueIterator

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

class: CSSNumericArrayValueIterator

func CSSNumericArrayValueIteratorFromJS

func CSSNumericArrayValueIteratorFromJS(value js.Value) *CSSNumericArrayValueIterator

CSSNumericArrayValueIteratorFromJS is casting a js.Value into CSSNumericArrayValueIterator.

func CSSNumericArrayValueIteratorFromWrapper

func CSSNumericArrayValueIteratorFromWrapper(input core.Wrapper) *CSSNumericArrayValueIterator

CSSNumericArrayValueIteratorFromJS is casting from something that holds a js.Value into CSSNumericArrayValueIterator.

func (*CSSNumericArrayValueIterator) JSValue

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

JSValue returns the js.Value or js.Null() if _this is nil

func (*CSSNumericArrayValueIterator) Next

type CSSNumericArrayValueIteratorValue

type CSSNumericArrayValueIteratorValue struct {
	Value *CSSNumericValue
	Done  bool
}

dictionary: CSSNumericArrayValueIteratorValue

func CSSNumericArrayValueIteratorValueFromJS

func CSSNumericArrayValueIteratorValueFromJS(value js.Value) *CSSNumericArrayValueIteratorValue

CSSNumericArrayValueIteratorValueFromJS is allocating a new CSSNumericArrayValueIteratorValue object and copy all values in the value javascript object.

func (*CSSNumericArrayValueIteratorValue) JSValue

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

JSValue is allocating a new javascript object and copy all values

type CSSNumericBaseType

type CSSNumericBaseType int

enum: CSSNumericBaseType

const (
	LengthCSSNumericBaseType CSSNumericBaseType = iota
	AngleCSSNumericBaseType
	TimeCSSNumericBaseType
	FrequencyCSSNumericBaseType
	ResolutionCSSNumericBaseType
	FlexCSSNumericBaseType
	PercentCSSNumericBaseType
)

func CSSNumericBaseTypeFromJS

func CSSNumericBaseTypeFromJS(value js.Value) CSSNumericBaseType

CSSNumericBaseTypeFromJS is converting a javascript value into a CSSNumericBaseType enum value.

func (*CSSNumericBaseType) JSValue

func (this *CSSNumericBaseType) JSValue() js.Value

JSValue is converting this enum into a javascript object

func (CSSNumericBaseType) Value

func (this CSSNumericBaseType) Value() string

Value is converting this into javascript defined string value

type CSSNumericType

type CSSNumericType struct {
	Length      int
	Angle       int
	Time        int
	Frequency   int
	Resolution  int
	Flex        int
	Percent     int
	PercentHint CSSNumericBaseType
}

dictionary: CSSNumericType

func CSSNumericTypeFromJS

func CSSNumericTypeFromJS(value js.Value) *CSSNumericType

CSSNumericTypeFromJS is allocating a new CSSNumericType object and copy all values in the value javascript object.

func (*CSSNumericType) JSValue

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

JSValue is allocating a new javascript object and copy all values

type CSSNumericValue

type CSSNumericValue struct {
	CSSStyleValue
}

class: CSSNumericValue

func CSSNumericValueFromJS

func CSSNumericValueFromJS(value js.Value) *CSSNumericValue

CSSNumericValueFromJS is casting a js.Value into CSSNumericValue.

func CSSNumericValueFromWrapper

func CSSNumericValueFromWrapper(input core.Wrapper) *CSSNumericValue

CSSNumericValueFromJS is casting from something that holds a js.Value into CSSNumericValue.

func Parse

func Parse(cssText string) (_result *CSSNumericValue)

func (*CSSNumericValue) Add

func (_this *CSSNumericValue) Add(values ...*Union) (_result *CSSNumericValue)

func (*CSSNumericValue) Div

func (_this *CSSNumericValue) Div(values ...*Union) (_result *CSSNumericValue)

func (*CSSNumericValue) Equals

func (_this *CSSNumericValue) Equals(value ...*Union) (_result bool)

func (*CSSNumericValue) Max

func (_this *CSSNumericValue) Max(values ...*Union) (_result *CSSNumericValue)

func (*CSSNumericValue) Min

func (_this *CSSNumericValue) Min(values ...*Union) (_result *CSSNumericValue)

func (*CSSNumericValue) Mul

func (_this *CSSNumericValue) Mul(values ...*Union) (_result *CSSNumericValue)

func (*CSSNumericValue) Sub

func (_this *CSSNumericValue) Sub(values ...*Union) (_result *CSSNumericValue)

func (*CSSNumericValue) To

func (_this *CSSNumericValue) To(unit string) (_result *CSSUnitValue)

func (*CSSNumericValue) ToSum

func (_this *CSSNumericValue) ToSum(units ...string) (_result *CSSMathSum)

func (*CSSNumericValue) Type

func (_this *CSSNumericValue) Type() (_result *CSSNumericType)

type CSSPerspective

type CSSPerspective struct {
	CSSTransformComponent
}

class: CSSPerspective

func CSSPerspectiveFromJS

func CSSPerspectiveFromJS(value js.Value) *CSSPerspective

CSSPerspectiveFromJS is casting a js.Value into CSSPerspective.

func CSSPerspectiveFromWrapper

func CSSPerspectiveFromWrapper(input core.Wrapper) *CSSPerspective

CSSPerspectiveFromJS is casting from something that holds a js.Value into CSSPerspective.

func NewCSSPerspective

func NewCSSPerspective(length *CSSNumericValue) (_result *CSSPerspective)

func (*CSSPerspective) Length

func (_this *CSSPerspective) Length() *CSSNumericValue

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

func (*CSSPerspective) SetLength

func (_this *CSSPerspective) SetLength(value *CSSNumericValue)

SetLength setting attribute 'length' with type CSSNumericValue (idl: CSSNumericValue).

type CSSRotate

type CSSRotate struct {
	CSSTransformComponent
}

class: CSSRotate

func CSSRotateFromJS

func CSSRotateFromJS(value js.Value) *CSSRotate

CSSRotateFromJS is casting a js.Value into CSSRotate.

func CSSRotateFromWrapper

func CSSRotateFromWrapper(input core.Wrapper) *CSSRotate

CSSRotateFromJS is casting from something that holds a js.Value into CSSRotate.

func NewCSSRotate

func NewCSSRotate(x *Union, y *Union, z *Union, angle *CSSNumericValue) (_result *CSSRotate)

func (*CSSRotate) Angle

func (_this *CSSRotate) Angle() *CSSNumericValue

Angle returning attribute 'angle' with type CSSNumericValue (idl: CSSNumericValue).

func (*CSSRotate) SetAngle

func (_this *CSSRotate) SetAngle(value *CSSNumericValue)

SetAngle setting attribute 'angle' with type CSSNumericValue (idl: CSSNumericValue).

func (*CSSRotate) SetX

func (_this *CSSRotate) SetX(value *Union)

SetX setting attribute 'x' with type Union (idl: Union).

func (*CSSRotate) SetY

func (_this *CSSRotate) SetY(value *Union)

SetY setting attribute 'y' with type Union (idl: Union).

func (*CSSRotate) SetZ

func (_this *CSSRotate) SetZ(value *Union)

SetZ setting attribute 'z' with type Union (idl: Union).

func (*CSSRotate) X

func (_this *CSSRotate) X() *Union

X returning attribute 'x' with type Union (idl: Union).

func (*CSSRotate) Y

func (_this *CSSRotate) Y() *Union

Y returning attribute 'y' with type Union (idl: Union).

func (*CSSRotate) Z

func (_this *CSSRotate) Z() *Union

Z returning attribute 'z' with type Union (idl: Union).

type CSSScale

type CSSScale struct {
	CSSTransformComponent
}

class: CSSScale

func CSSScaleFromJS

func CSSScaleFromJS(value js.Value) *CSSScale

CSSScaleFromJS is casting a js.Value into CSSScale.

func CSSScaleFromWrapper

func CSSScaleFromWrapper(input core.Wrapper) *CSSScale

CSSScaleFromJS is casting from something that holds a js.Value into CSSScale.

func NewCSSScale

func NewCSSScale(x *Union, y *Union, z *Union) (_result *CSSScale)

func (*CSSScale) SetX

func (_this *CSSScale) SetX(value *Union)

SetX setting attribute 'x' with type Union (idl: Union).

func (*CSSScale) SetY

func (_this *CSSScale) SetY(value *Union)

SetY setting attribute 'y' with type Union (idl: Union).

func (*CSSScale) SetZ

func (_this *CSSScale) SetZ(value *Union)

SetZ setting attribute 'z' with type Union (idl: Union).

func (*CSSScale) X

func (_this *CSSScale) X() *Union

X returning attribute 'x' with type Union (idl: Union).

func (*CSSScale) Y

func (_this *CSSScale) Y() *Union

Y returning attribute 'y' with type Union (idl: Union).

func (*CSSScale) Z

func (_this *CSSScale) Z() *Union

Z returning attribute 'z' with type Union (idl: Union).

type CSSSkew

type CSSSkew struct {
	CSSTransformComponent
}

class: CSSSkew

func CSSSkewFromJS

func CSSSkewFromJS(value js.Value) *CSSSkew

CSSSkewFromJS is casting a js.Value into CSSSkew.

func CSSSkewFromWrapper

func CSSSkewFromWrapper(input core.Wrapper) *CSSSkew

CSSSkewFromJS is casting from something that holds a js.Value into CSSSkew.

func NewCSSSkew

func NewCSSSkew(ax *CSSNumericValue, ay *CSSNumericValue) (_result *CSSSkew)

func (*CSSSkew) Ax

func (_this *CSSSkew) Ax() *CSSNumericValue

Ax returning attribute 'ax' with type CSSNumericValue (idl: CSSNumericValue).

func (*CSSSkew) Ay

func (_this *CSSSkew) Ay() *CSSNumericValue

Ay returning attribute 'ay' with type CSSNumericValue (idl: CSSNumericValue).

func (*CSSSkew) SetAx

func (_this *CSSSkew) SetAx(value *CSSNumericValue)

SetAx setting attribute 'ax' with type CSSNumericValue (idl: CSSNumericValue).

func (*CSSSkew) SetAy

func (_this *CSSSkew) SetAy(value *CSSNumericValue)

SetAy setting attribute 'ay' with type CSSNumericValue (idl: CSSNumericValue).

type CSSSkewX

type CSSSkewX struct {
	CSSTransformComponent
}

class: CSSSkewX

func CSSSkewXFromJS

func CSSSkewXFromJS(value js.Value) *CSSSkewX

CSSSkewXFromJS is casting a js.Value into CSSSkewX.

func CSSSkewXFromWrapper

func CSSSkewXFromWrapper(input core.Wrapper) *CSSSkewX

CSSSkewXFromJS is casting from something that holds a js.Value into CSSSkewX.

func NewCSSSkewX

func NewCSSSkewX(ax *CSSNumericValue) (_result *CSSSkewX)

func (*CSSSkewX) Ax

func (_this *CSSSkewX) Ax() *CSSNumericValue

Ax returning attribute 'ax' with type CSSNumericValue (idl: CSSNumericValue).

func (*CSSSkewX) SetAx

func (_this *CSSSkewX) SetAx(value *CSSNumericValue)

SetAx setting attribute 'ax' with type CSSNumericValue (idl: CSSNumericValue).

type CSSSkewY

type CSSSkewY struct {
	CSSTransformComponent
}

class: CSSSkewY

func CSSSkewYFromJS

func CSSSkewYFromJS(value js.Value) *CSSSkewY

CSSSkewYFromJS is casting a js.Value into CSSSkewY.

func CSSSkewYFromWrapper

func CSSSkewYFromWrapper(input core.Wrapper) *CSSSkewY

CSSSkewYFromJS is casting from something that holds a js.Value into CSSSkewY.

func NewCSSSkewY

func NewCSSSkewY(ay *CSSNumericValue) (_result *CSSSkewY)

func (*CSSSkewY) Ay

func (_this *CSSSkewY) Ay() *CSSNumericValue

Ay returning attribute 'ay' with type CSSNumericValue (idl: CSSNumericValue).

func (*CSSSkewY) SetAy

func (_this *CSSSkewY) SetAy(value *CSSNumericValue)

SetAy setting attribute 'ay' with type CSSNumericValue (idl: CSSNumericValue).

type CSSStyleValue

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

class: CSSStyleValue

func CSSStyleValueFromJS

func CSSStyleValueFromJS(value js.Value) *CSSStyleValue

CSSStyleValueFromJS is casting a js.Value into CSSStyleValue.

func CSSStyleValueFromWrapper

func CSSStyleValueFromWrapper(input core.Wrapper) *CSSStyleValue

CSSStyleValueFromJS is casting from something that holds a js.Value into CSSStyleValue.

func Parse2

func Parse2(property string, cssText string) (_result *CSSStyleValue)

func ParseAll

func ParseAll(property string, cssText string) (_result []*CSSStyleValue)

func (*CSSStyleValue) JSValue

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

JSValue returns the js.Value or js.Null() if _this is nil

func (*CSSStyleValue) ToString

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

type CSSTransformComponent

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

class: CSSTransformComponent

func CSSTransformComponentFromJS

func CSSTransformComponentFromJS(value js.Value) *CSSTransformComponent

CSSTransformComponentFromJS is casting a js.Value into CSSTransformComponent.

func CSSTransformComponentFromWrapper

func CSSTransformComponentFromWrapper(input core.Wrapper) *CSSTransformComponent

CSSTransformComponentFromJS is casting from something that holds a js.Value into CSSTransformComponent.

func (*CSSTransformComponent) Is2D

func (_this *CSSTransformComponent) Is2D() bool

Is2D returning attribute 'is2D' with type bool (idl: boolean).

func (*CSSTransformComponent) JSValue

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

JSValue returns the js.Value or js.Null() if _this is nil

func (*CSSTransformComponent) SetIs2D

func (_this *CSSTransformComponent) SetIs2D(value bool)

SetIs2D setting attribute 'is2D' with type bool (idl: boolean).

func (*CSSTransformComponent) ToMatrix

func (_this *CSSTransformComponent) ToMatrix() (_result *geometry.DOMMatrix)

func (*CSSTransformComponent) ToString

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

type CSSTransformValue

type CSSTransformValue struct {
	CSSStyleValue
}

class: CSSTransformValue

func CSSTransformValueFromJS

func CSSTransformValueFromJS(value js.Value) *CSSTransformValue

CSSTransformValueFromJS is casting a js.Value into CSSTransformValue.

func CSSTransformValueFromWrapper

func CSSTransformValueFromWrapper(input core.Wrapper) *CSSTransformValue

CSSTransformValueFromJS is casting from something that holds a js.Value into CSSTransformValue.

func NewCSSTransformValue

func NewCSSTransformValue(transforms []*CSSTransformComponent) (_result *CSSTransformValue)

func (*CSSTransformValue) Entries

func (_this *CSSTransformValue) Entries() (_result *CSSTransformValueEntryIterator)

func (*CSSTransformValue) ForEach

func (_this *CSSTransformValue) ForEach(callback *CSSTransformValueForEach, optionalThisForCallbackArgument interface{})

func (*CSSTransformValue) Index

func (_this *CSSTransformValue) Index(index uint) (_result *CSSTransformComponent)

func (*CSSTransformValue) Is2D

func (_this *CSSTransformValue) Is2D() bool

Is2D returning attribute 'is2D' with type bool (idl: boolean).

func (*CSSTransformValue) Keys

func (_this *CSSTransformValue) Keys() (_result *CSSTransformValueKeyIterator)

func (*CSSTransformValue) Length

func (_this *CSSTransformValue) Length() uint

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

func (*CSSTransformValue) SetIndex

func (_this *CSSTransformValue) SetIndex(index uint, val *CSSTransformComponent) (_result *CSSTransformComponent)

func (*CSSTransformValue) ToMatrix

func (_this *CSSTransformValue) ToMatrix() (_result *geometry.DOMMatrix)

func (*CSSTransformValue) Values

func (_this *CSSTransformValue) Values() (_result *CSSTransformValueValueIterator)

type CSSTransformValueEntryIterator

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

class: CSSTransformValueEntryIterator

func CSSTransformValueEntryIteratorFromJS

func CSSTransformValueEntryIteratorFromJS(value js.Value) *CSSTransformValueEntryIterator

CSSTransformValueEntryIteratorFromJS is casting a js.Value into CSSTransformValueEntryIterator.

func CSSTransformValueEntryIteratorFromWrapper

func CSSTransformValueEntryIteratorFromWrapper(input core.Wrapper) *CSSTransformValueEntryIterator

CSSTransformValueEntryIteratorFromJS is casting from something that holds a js.Value into CSSTransformValueEntryIterator.

func (*CSSTransformValueEntryIterator) JSValue

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

JSValue returns the js.Value or js.Null() if _this is nil

func (*CSSTransformValueEntryIterator) Next

type CSSTransformValueEntryIteratorValue

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

dictionary: CSSTransformValueEntryIteratorValue

func CSSTransformValueEntryIteratorValueFromJS

func CSSTransformValueEntryIteratorValueFromJS(value js.Value) *CSSTransformValueEntryIteratorValue

CSSTransformValueEntryIteratorValueFromJS is allocating a new CSSTransformValueEntryIteratorValue object and copy all values in the value javascript object.

func (*CSSTransformValueEntryIteratorValue) JSValue

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

JSValue is allocating a new javascript object and copy all values

type CSSTransformValueForEach

type CSSTransformValueForEach js.Func

CSSTransformValueForEach is a javascript function type.

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

func CSSTransformValueForEachToJS

func CSSTransformValueForEachToJS(callback CSSTransformValueForEachFunc) *CSSTransformValueForEach

type CSSTransformValueForEachFunc

type CSSTransformValueForEachFunc func(currentValue *CSSTransformComponent, currentIndex int, listObj *CSSTransformValue)

callback: CSSTransformValueForEach

func CSSTransformValueForEachFromJS

func CSSTransformValueForEachFromJS(_value js.Value) CSSTransformValueForEachFunc

type CSSTransformValueKeyIterator

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

class: CSSTransformValueKeyIterator

func CSSTransformValueKeyIteratorFromJS

func CSSTransformValueKeyIteratorFromJS(value js.Value) *CSSTransformValueKeyIterator

CSSTransformValueKeyIteratorFromJS is casting a js.Value into CSSTransformValueKeyIterator.

func CSSTransformValueKeyIteratorFromWrapper

func CSSTransformValueKeyIteratorFromWrapper(input core.Wrapper) *CSSTransformValueKeyIterator

CSSTransformValueKeyIteratorFromJS is casting from something that holds a js.Value into CSSTransformValueKeyIterator.

func (*CSSTransformValueKeyIterator) JSValue

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

JSValue returns the js.Value or js.Null() if _this is nil

func (*CSSTransformValueKeyIterator) Next

type CSSTransformValueKeyIteratorValue

type CSSTransformValueKeyIteratorValue struct {
	Value uint
	Done  bool
}

dictionary: CSSTransformValueKeyIteratorValue

func CSSTransformValueKeyIteratorValueFromJS

func CSSTransformValueKeyIteratorValueFromJS(value js.Value) *CSSTransformValueKeyIteratorValue

CSSTransformValueKeyIteratorValueFromJS is allocating a new CSSTransformValueKeyIteratorValue object and copy all values in the value javascript object.

func (*CSSTransformValueKeyIteratorValue) JSValue

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

JSValue is allocating a new javascript object and copy all values

type CSSTransformValueValueIterator

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

class: CSSTransformValueValueIterator

func CSSTransformValueValueIteratorFromJS

func CSSTransformValueValueIteratorFromJS(value js.Value) *CSSTransformValueValueIterator

CSSTransformValueValueIteratorFromJS is casting a js.Value into CSSTransformValueValueIterator.

func CSSTransformValueValueIteratorFromWrapper

func CSSTransformValueValueIteratorFromWrapper(input core.Wrapper) *CSSTransformValueValueIterator

CSSTransformValueValueIteratorFromJS is casting from something that holds a js.Value into CSSTransformValueValueIterator.

func (*CSSTransformValueValueIterator) JSValue

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

JSValue returns the js.Value or js.Null() if _this is nil

func (*CSSTransformValueValueIterator) Next

type CSSTransformValueValueIteratorValue

type CSSTransformValueValueIteratorValue struct {
	Value *CSSTransformComponent
	Done  bool
}

dictionary: CSSTransformValueValueIteratorValue

func CSSTransformValueValueIteratorValueFromJS

func CSSTransformValueValueIteratorValueFromJS(value js.Value) *CSSTransformValueValueIteratorValue

CSSTransformValueValueIteratorValueFromJS is allocating a new CSSTransformValueValueIteratorValue object and copy all values in the value javascript object.

func (*CSSTransformValueValueIteratorValue) JSValue

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

JSValue is allocating a new javascript object and copy all values

type CSSTranslate

type CSSTranslate struct {
	CSSTransformComponent
}

class: CSSTranslate

func CSSTranslateFromJS

func CSSTranslateFromJS(value js.Value) *CSSTranslate

CSSTranslateFromJS is casting a js.Value into CSSTranslate.

func CSSTranslateFromWrapper

func CSSTranslateFromWrapper(input core.Wrapper) *CSSTranslate

CSSTranslateFromJS is casting from something that holds a js.Value into CSSTranslate.

func NewCSSTranslate

func NewCSSTranslate(x *CSSNumericValue, y *CSSNumericValue, z *CSSNumericValue) (_result *CSSTranslate)

func (*CSSTranslate) SetX

func (_this *CSSTranslate) SetX(value *CSSNumericValue)

SetX setting attribute 'x' with type CSSNumericValue (idl: CSSNumericValue).

func (*CSSTranslate) SetY

func (_this *CSSTranslate) SetY(value *CSSNumericValue)

SetY setting attribute 'y' with type CSSNumericValue (idl: CSSNumericValue).

func (*CSSTranslate) SetZ

func (_this *CSSTranslate) SetZ(value *CSSNumericValue)

SetZ setting attribute 'z' with type CSSNumericValue (idl: CSSNumericValue).

func (*CSSTranslate) X

func (_this *CSSTranslate) X() *CSSNumericValue

X returning attribute 'x' with type CSSNumericValue (idl: CSSNumericValue).

func (*CSSTranslate) Y

func (_this *CSSTranslate) Y() *CSSNumericValue

Y returning attribute 'y' with type CSSNumericValue (idl: CSSNumericValue).

func (*CSSTranslate) Z

func (_this *CSSTranslate) Z() *CSSNumericValue

Z returning attribute 'z' with type CSSNumericValue (idl: CSSNumericValue).

type CSSUnitValue

type CSSUnitValue struct {
	CSSNumericValue
}

class: CSSUnitValue

func CSSUnitValueFromJS

func CSSUnitValueFromJS(value js.Value) *CSSUnitValue

CSSUnitValueFromJS is casting a js.Value into CSSUnitValue.

func CSSUnitValueFromWrapper

func CSSUnitValueFromWrapper(input core.Wrapper) *CSSUnitValue

CSSUnitValueFromJS is casting from something that holds a js.Value into CSSUnitValue.

func NewCSSUnitValue

func NewCSSUnitValue(value float64, unit string) (_result *CSSUnitValue)

func (*CSSUnitValue) SetValue

func (_this *CSSUnitValue) SetValue(value float64)

SetValue setting attribute 'value' with type float64 (idl: double).

func (*CSSUnitValue) Unit

func (_this *CSSUnitValue) Unit() string

Unit returning attribute 'unit' with type string (idl: USVString).

func (*CSSUnitValue) Value

func (_this *CSSUnitValue) Value() float64

Value returning attribute 'value' with type float64 (idl: double).

type CSSUnparsedValue

type CSSUnparsedValue struct {
	CSSStyleValue
}

class: CSSUnparsedValue

func CSSUnparsedValueFromJS

func CSSUnparsedValueFromJS(value js.Value) *CSSUnparsedValue

CSSUnparsedValueFromJS is casting a js.Value into CSSUnparsedValue.

func CSSUnparsedValueFromWrapper

func CSSUnparsedValueFromWrapper(input core.Wrapper) *CSSUnparsedValue

CSSUnparsedValueFromJS is casting from something that holds a js.Value into CSSUnparsedValue.

func NewCSSUnparsedValue

func NewCSSUnparsedValue(members []*Union) (_result *CSSUnparsedValue)

func (*CSSUnparsedValue) Entries

func (_this *CSSUnparsedValue) Entries() (_result *CSSUnparsedValueEntryIterator)

func (*CSSUnparsedValue) ForEach

func (_this *CSSUnparsedValue) ForEach(callback *CSSUnparsedValueForEach, optionalThisForCallbackArgument interface{})

func (*CSSUnparsedValue) Index

func (_this *CSSUnparsedValue) Index(index uint) (_result *Union)

func (*CSSUnparsedValue) Keys

func (_this *CSSUnparsedValue) Keys() (_result *CSSUnparsedValueKeyIterator)

func (*CSSUnparsedValue) Length

func (_this *CSSUnparsedValue) Length() uint

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

func (*CSSUnparsedValue) SetIndex

func (_this *CSSUnparsedValue) SetIndex(index uint, val *Union) (_result *Union)

func (*CSSUnparsedValue) Values

func (_this *CSSUnparsedValue) Values() (_result *CSSUnparsedValueValueIterator)

type CSSUnparsedValueEntryIterator

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

class: CSSUnparsedValueEntryIterator

func CSSUnparsedValueEntryIteratorFromJS

func CSSUnparsedValueEntryIteratorFromJS(value js.Value) *CSSUnparsedValueEntryIterator

CSSUnparsedValueEntryIteratorFromJS is casting a js.Value into CSSUnparsedValueEntryIterator.

func CSSUnparsedValueEntryIteratorFromWrapper

func CSSUnparsedValueEntryIteratorFromWrapper(input core.Wrapper) *CSSUnparsedValueEntryIterator

CSSUnparsedValueEntryIteratorFromJS is casting from something that holds a js.Value into CSSUnparsedValueEntryIterator.

func (*CSSUnparsedValueEntryIterator) JSValue

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

JSValue returns the js.Value or js.Null() if _this is nil

func (*CSSUnparsedValueEntryIterator) Next

type CSSUnparsedValueEntryIteratorValue

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

dictionary: CSSUnparsedValueEntryIteratorValue

func CSSUnparsedValueEntryIteratorValueFromJS

func CSSUnparsedValueEntryIteratorValueFromJS(value js.Value) *CSSUnparsedValueEntryIteratorValue

CSSUnparsedValueEntryIteratorValueFromJS is allocating a new CSSUnparsedValueEntryIteratorValue object and copy all values in the value javascript object.

func (*CSSUnparsedValueEntryIteratorValue) JSValue

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

JSValue is allocating a new javascript object and copy all values

type CSSUnparsedValueForEach

type CSSUnparsedValueForEach js.Func

CSSUnparsedValueForEach is a javascript function type.

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

func CSSUnparsedValueForEachToJS

func CSSUnparsedValueForEachToJS(callback CSSUnparsedValueForEachFunc) *CSSUnparsedValueForEach

type CSSUnparsedValueForEachFunc

type CSSUnparsedValueForEachFunc func(currentValue *Union, currentIndex int, listObj *CSSUnparsedValue)

callback: CSSUnparsedValueForEach

func CSSUnparsedValueForEachFromJS

func CSSUnparsedValueForEachFromJS(_value js.Value) CSSUnparsedValueForEachFunc

type CSSUnparsedValueKeyIterator

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

class: CSSUnparsedValueKeyIterator

func CSSUnparsedValueKeyIteratorFromJS

func CSSUnparsedValueKeyIteratorFromJS(value js.Value) *CSSUnparsedValueKeyIterator

CSSUnparsedValueKeyIteratorFromJS is casting a js.Value into CSSUnparsedValueKeyIterator.

func CSSUnparsedValueKeyIteratorFromWrapper

func CSSUnparsedValueKeyIteratorFromWrapper(input core.Wrapper) *CSSUnparsedValueKeyIterator

CSSUnparsedValueKeyIteratorFromJS is casting from something that holds a js.Value into CSSUnparsedValueKeyIterator.

func (*CSSUnparsedValueKeyIterator) JSValue

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

JSValue returns the js.Value or js.Null() if _this is nil

func (*CSSUnparsedValueKeyIterator) Next

type CSSUnparsedValueKeyIteratorValue

type CSSUnparsedValueKeyIteratorValue struct {
	Value uint
	Done  bool
}

dictionary: CSSUnparsedValueKeyIteratorValue

func CSSUnparsedValueKeyIteratorValueFromJS

func CSSUnparsedValueKeyIteratorValueFromJS(value js.Value) *CSSUnparsedValueKeyIteratorValue

CSSUnparsedValueKeyIteratorValueFromJS is allocating a new CSSUnparsedValueKeyIteratorValue object and copy all values in the value javascript object.

func (*CSSUnparsedValueKeyIteratorValue) JSValue

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

JSValue is allocating a new javascript object and copy all values

type CSSUnparsedValueValueIterator

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

class: CSSUnparsedValueValueIterator

func CSSUnparsedValueValueIteratorFromJS

func CSSUnparsedValueValueIteratorFromJS(value js.Value) *CSSUnparsedValueValueIterator

CSSUnparsedValueValueIteratorFromJS is casting a js.Value into CSSUnparsedValueValueIterator.

func CSSUnparsedValueValueIteratorFromWrapper

func CSSUnparsedValueValueIteratorFromWrapper(input core.Wrapper) *CSSUnparsedValueValueIterator

CSSUnparsedValueValueIteratorFromJS is casting from something that holds a js.Value into CSSUnparsedValueValueIterator.

func (*CSSUnparsedValueValueIterator) JSValue

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

JSValue returns the js.Value or js.Null() if _this is nil

func (*CSSUnparsedValueValueIterator) Next

type CSSUnparsedValueValueIteratorValue

type CSSUnparsedValueValueIteratorValue struct {
	Value *Union
	Done  bool
}

dictionary: CSSUnparsedValueValueIteratorValue

func CSSUnparsedValueValueIteratorValueFromJS

func CSSUnparsedValueValueIteratorValueFromJS(value js.Value) *CSSUnparsedValueValueIteratorValue

CSSUnparsedValueValueIteratorValueFromJS is allocating a new CSSUnparsedValueValueIteratorValue object and copy all values in the value javascript object.

func (*CSSUnparsedValueValueIteratorValue) JSValue

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

JSValue is allocating a new javascript object and copy all values

type CSSVariableReferenceValue

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

class: CSSVariableReferenceValue

func CSSVariableReferenceValueFromJS

func CSSVariableReferenceValueFromJS(value js.Value) *CSSVariableReferenceValue

CSSVariableReferenceValueFromJS is casting a js.Value into CSSVariableReferenceValue.

func CSSVariableReferenceValueFromWrapper

func CSSVariableReferenceValueFromWrapper(input core.Wrapper) *CSSVariableReferenceValue

CSSVariableReferenceValueFromJS is casting from something that holds a js.Value into CSSVariableReferenceValue.

func NewCSSVariableReferenceValue

func NewCSSVariableReferenceValue(variable string, fallback *CSSUnparsedValue) (_result *CSSVariableReferenceValue)

func (*CSSVariableReferenceValue) Fallback

func (_this *CSSVariableReferenceValue) Fallback() *CSSUnparsedValue

Fallback returning attribute 'fallback' with type CSSUnparsedValue (idl: CSSUnparsedValue).

func (*CSSVariableReferenceValue) JSValue

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

JSValue returns the js.Value or js.Null() if _this is nil

func (*CSSVariableReferenceValue) SetVariable

func (_this *CSSVariableReferenceValue) SetVariable(value string)

SetVariable setting attribute 'variable' with type string (idl: USVString).

func (*CSSVariableReferenceValue) Variable

func (_this *CSSVariableReferenceValue) Variable() string

Variable returning attribute 'variable' with type string (idl: USVString).

type StylePropertyMap

type StylePropertyMap struct {
	StylePropertyMapReadOnly
}

class: StylePropertyMap

func StylePropertyMapFromJS

func StylePropertyMapFromJS(value js.Value) *StylePropertyMap

StylePropertyMapFromJS is casting a js.Value into StylePropertyMap.

func StylePropertyMapFromWrapper

func StylePropertyMapFromWrapper(input core.Wrapper) *StylePropertyMap

StylePropertyMapFromJS is casting from something that holds a js.Value into StylePropertyMap.

func (*StylePropertyMap) Append

func (_this *StylePropertyMap) Append(property string, values ...*Union)

func (*StylePropertyMap) Clear

func (_this *StylePropertyMap) Clear()

func (*StylePropertyMap) Delete

func (_this *StylePropertyMap) Delete(property string)

func (*StylePropertyMap) Set

func (_this *StylePropertyMap) Set(property string, values ...*Union)

type StylePropertyMapReadOnly

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

class: StylePropertyMapReadOnly

func StylePropertyMapReadOnlyFromJS

func StylePropertyMapReadOnlyFromJS(value js.Value) *StylePropertyMapReadOnly

StylePropertyMapReadOnlyFromJS is casting a js.Value into StylePropertyMapReadOnly.

func StylePropertyMapReadOnlyFromWrapper

func StylePropertyMapReadOnlyFromWrapper(input core.Wrapper) *StylePropertyMapReadOnly

StylePropertyMapReadOnlyFromJS is casting from something that holds a js.Value into StylePropertyMapReadOnly.

func (*StylePropertyMapReadOnly) Entries

func (*StylePropertyMapReadOnly) ForEach

func (_this *StylePropertyMapReadOnly) ForEach(callback *StylePropertyMapReadOnlyForEach, optionalThisForCallbackArgument interface{})

func (*StylePropertyMapReadOnly) Get

func (_this *StylePropertyMapReadOnly) Get(property string) (_result js.Value)

func (*StylePropertyMapReadOnly) GetAll

func (_this *StylePropertyMapReadOnly) GetAll(property string) (_result []*CSSStyleValue)

func (*StylePropertyMapReadOnly) Has

func (_this *StylePropertyMapReadOnly) Has(property string) (_result bool)

func (*StylePropertyMapReadOnly) JSValue

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

JSValue returns the js.Value or js.Null() if _this is nil

func (*StylePropertyMapReadOnly) Keys

func (*StylePropertyMapReadOnly) Size

func (_this *StylePropertyMapReadOnly) Size() uint

Size returning attribute 'size' with type uint (idl: unsigned long).

func (*StylePropertyMapReadOnly) Values

type StylePropertyMapReadOnlyEntryIterator

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

class: StylePropertyMapReadOnlyEntryIterator

func StylePropertyMapReadOnlyEntryIteratorFromJS

func StylePropertyMapReadOnlyEntryIteratorFromJS(value js.Value) *StylePropertyMapReadOnlyEntryIterator

StylePropertyMapReadOnlyEntryIteratorFromJS is casting a js.Value into StylePropertyMapReadOnlyEntryIterator.

func StylePropertyMapReadOnlyEntryIteratorFromWrapper

func StylePropertyMapReadOnlyEntryIteratorFromWrapper(input core.Wrapper) *StylePropertyMapReadOnlyEntryIterator

StylePropertyMapReadOnlyEntryIteratorFromJS is casting from something that holds a js.Value into StylePropertyMapReadOnlyEntryIterator.

func (*StylePropertyMapReadOnlyEntryIterator) JSValue

JSValue returns the js.Value or js.Null() if _this is nil

func (*StylePropertyMapReadOnlyEntryIterator) Next

type StylePropertyMapReadOnlyEntryIteratorValue

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

dictionary: StylePropertyMapReadOnlyEntryIteratorValue

func StylePropertyMapReadOnlyEntryIteratorValueFromJS

func StylePropertyMapReadOnlyEntryIteratorValueFromJS(value js.Value) *StylePropertyMapReadOnlyEntryIteratorValue

StylePropertyMapReadOnlyEntryIteratorValueFromJS is allocating a new StylePropertyMapReadOnlyEntryIteratorValue object and copy all values in the value javascript object.

func (*StylePropertyMapReadOnlyEntryIteratorValue) JSValue

JSValue is allocating a new javascript object and copy all values

type StylePropertyMapReadOnlyForEach

type StylePropertyMapReadOnlyForEach js.Func

StylePropertyMapReadOnlyForEach is a javascript function type.

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

type StylePropertyMapReadOnlyForEachFunc

type StylePropertyMapReadOnlyForEachFunc func(currentValue []*CSSStyleValue, currentIndex int, listObj *StylePropertyMapReadOnly)

callback: StylePropertyMapReadOnlyForEach

func StylePropertyMapReadOnlyForEachFromJS

func StylePropertyMapReadOnlyForEachFromJS(_value js.Value) StylePropertyMapReadOnlyForEachFunc

type StylePropertyMapReadOnlyKeyIterator

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

class: StylePropertyMapReadOnlyKeyIterator

func StylePropertyMapReadOnlyKeyIteratorFromJS

func StylePropertyMapReadOnlyKeyIteratorFromJS(value js.Value) *StylePropertyMapReadOnlyKeyIterator

StylePropertyMapReadOnlyKeyIteratorFromJS is casting a js.Value into StylePropertyMapReadOnlyKeyIterator.

func StylePropertyMapReadOnlyKeyIteratorFromWrapper

func StylePropertyMapReadOnlyKeyIteratorFromWrapper(input core.Wrapper) *StylePropertyMapReadOnlyKeyIterator

StylePropertyMapReadOnlyKeyIteratorFromJS is casting from something that holds a js.Value into StylePropertyMapReadOnlyKeyIterator.

func (*StylePropertyMapReadOnlyKeyIterator) JSValue

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

JSValue returns the js.Value or js.Null() if _this is nil

func (*StylePropertyMapReadOnlyKeyIterator) Next

type StylePropertyMapReadOnlyKeyIteratorValue

type StylePropertyMapReadOnlyKeyIteratorValue struct {
	Value string
	Done  bool
}

dictionary: StylePropertyMapReadOnlyKeyIteratorValue

func StylePropertyMapReadOnlyKeyIteratorValueFromJS

func StylePropertyMapReadOnlyKeyIteratorValueFromJS(value js.Value) *StylePropertyMapReadOnlyKeyIteratorValue

StylePropertyMapReadOnlyKeyIteratorValueFromJS is allocating a new StylePropertyMapReadOnlyKeyIteratorValue object and copy all values in the value javascript object.

func (*StylePropertyMapReadOnlyKeyIteratorValue) JSValue

JSValue is allocating a new javascript object and copy all values

type StylePropertyMapReadOnlyValueIterator

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

class: StylePropertyMapReadOnlyValueIterator

func StylePropertyMapReadOnlyValueIteratorFromJS

func StylePropertyMapReadOnlyValueIteratorFromJS(value js.Value) *StylePropertyMapReadOnlyValueIterator

StylePropertyMapReadOnlyValueIteratorFromJS is casting a js.Value into StylePropertyMapReadOnlyValueIterator.

func StylePropertyMapReadOnlyValueIteratorFromWrapper

func StylePropertyMapReadOnlyValueIteratorFromWrapper(input core.Wrapper) *StylePropertyMapReadOnlyValueIterator

StylePropertyMapReadOnlyValueIteratorFromJS is casting from something that holds a js.Value into StylePropertyMapReadOnlyValueIterator.

func (*StylePropertyMapReadOnlyValueIterator) JSValue

JSValue returns the js.Value or js.Null() if _this is nil

func (*StylePropertyMapReadOnlyValueIterator) Next

type StylePropertyMapReadOnlyValueIteratorValue

type StylePropertyMapReadOnlyValueIteratorValue struct {
	Value []*CSSStyleValue
	Done  bool
}

dictionary: StylePropertyMapReadOnlyValueIteratorValue

func StylePropertyMapReadOnlyValueIteratorValueFromJS

func StylePropertyMapReadOnlyValueIteratorValueFromJS(value js.Value) *StylePropertyMapReadOnlyValueIteratorValue

StylePropertyMapReadOnlyValueIteratorValueFromJS is allocating a new StylePropertyMapReadOnlyValueIteratorValue object and copy all values in the value javascript object.

func (*StylePropertyMapReadOnlyValueIteratorValue) JSValue

JSValue is allocating a new javascript object and copy all values

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

Jump to

Keyboard shortcuts

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