typedom

package
v0.0.0-...-f312d10 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2020 License: BSD-3-Clause Imports: 2 Imported by: 0

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.Wrapper) *CSSImageValue

CSSImageValueFromJS is casting a js.Wrapper into CSSImageValue.

type CSSKeywordValue

type CSSKeywordValue struct {
	CSSStyleValue
}

class: CSSKeywordValue

func CSSKeywordValueFromJS

func CSSKeywordValueFromJS(value js.Wrapper) *CSSKeywordValue

CSSKeywordValueFromJS is casting a js.Wrapper 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.Wrapper) *CSSMathClamp

CSSMathClampFromJS is casting a js.Wrapper 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.Wrapper) *CSSMathInvert

CSSMathInvertFromJS is casting a js.Wrapper 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.Wrapper) *CSSMathMax

CSSMathMaxFromJS is casting a js.Wrapper 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.Wrapper) *CSSMathMin

CSSMathMinFromJS is casting a js.Wrapper 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.Wrapper) *CSSMathNegate

CSSMathNegateFromJS is casting a js.Wrapper 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.Wrapper) *CSSMathProduct

CSSMathProductFromJS is casting a js.Wrapper 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.Wrapper) *CSSMathSum

CSSMathSumFromJS is casting a js.Wrapper 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.Wrapper) *CSSMathValue

CSSMathValueFromJS is casting a js.Wrapper 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.Wrapper) *CSSMatrixComponent

CSSMatrixComponentFromJS is casting a js.Wrapper 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.Wrapper) *CSSMatrixComponentOptions

CSSMatrixComponentOptionsFromJS is allocating a new CSSMatrixComponentOptions object and copy all values from input javascript object

func (*CSSMatrixComponentOptions) JSValue

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

JSValue is allocating a new javasript 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.Wrapper) *CSSNumericArray

CSSNumericArrayFromJS is casting a js.Wrapper 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

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.Wrapper) *CSSNumericArrayEntryIterator

CSSNumericArrayEntryIteratorFromJS is casting a js.Wrapper into CSSNumericArrayEntryIterator.

func (*CSSNumericArrayEntryIterator) JSValue

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

func (*CSSNumericArrayEntryIterator) Next

type CSSNumericArrayEntryIteratorValue

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

dictionary: CSSNumericArrayEntryIteratorValue

func CSSNumericArrayEntryIteratorValueFromJS

func CSSNumericArrayEntryIteratorValueFromJS(value js.Wrapper) *CSSNumericArrayEntryIteratorValue

CSSNumericArrayEntryIteratorValueFromJS is allocating a new CSSNumericArrayEntryIteratorValue object and copy all values from input javascript object

func (*CSSNumericArrayEntryIteratorValue) JSValue

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

JSValue is allocating a new javasript 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.Wrapper) *CSSNumericArrayKeyIterator

CSSNumericArrayKeyIteratorFromJS is casting a js.Wrapper into CSSNumericArrayKeyIterator.

func (*CSSNumericArrayKeyIterator) JSValue

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

func (*CSSNumericArrayKeyIterator) Next

type CSSNumericArrayKeyIteratorValue

type CSSNumericArrayKeyIteratorValue struct {
	Value uint
	Done  bool
}

dictionary: CSSNumericArrayKeyIteratorValue

func CSSNumericArrayKeyIteratorValueFromJS

func CSSNumericArrayKeyIteratorValueFromJS(value js.Wrapper) *CSSNumericArrayKeyIteratorValue

CSSNumericArrayKeyIteratorValueFromJS is allocating a new CSSNumericArrayKeyIteratorValue object and copy all values from input javascript object

func (*CSSNumericArrayKeyIteratorValue) JSValue

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

JSValue is allocating a new javasript 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.Wrapper) *CSSNumericArrayValueIterator

CSSNumericArrayValueIteratorFromJS is casting a js.Wrapper into CSSNumericArrayValueIterator.

func (*CSSNumericArrayValueIterator) JSValue

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

func (*CSSNumericArrayValueIterator) Next

type CSSNumericArrayValueIteratorValue

type CSSNumericArrayValueIteratorValue struct {
	Value *CSSNumericValue
	Done  bool
}

dictionary: CSSNumericArrayValueIteratorValue

func CSSNumericArrayValueIteratorValueFromJS

func CSSNumericArrayValueIteratorValueFromJS(value js.Wrapper) *CSSNumericArrayValueIteratorValue

CSSNumericArrayValueIteratorValueFromJS is allocating a new CSSNumericArrayValueIteratorValue object and copy all values from input javascript object

func (*CSSNumericArrayValueIteratorValue) JSValue

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

JSValue is allocating a new javasript 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.Wrapper) *CSSNumericType

CSSNumericTypeFromJS is allocating a new CSSNumericType object and copy all values from input javascript object

func (*CSSNumericType) JSValue

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

JSValue is allocating a new javasript object and copy all values

type CSSNumericValue

type CSSNumericValue struct {
	CSSStyleValue
}

class: CSSNumericValue

func CSSNumericValueFromJS

func CSSNumericValueFromJS(value js.Wrapper) *CSSNumericValue

CSSNumericValueFromJS is casting a js.Wrapper 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.Wrapper) *CSSPerspective

CSSPerspectiveFromJS is casting a js.Wrapper 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.Wrapper) *CSSRotate

CSSRotateFromJS is casting a js.Wrapper 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.Wrapper) *CSSScale

CSSScaleFromJS is casting a js.Wrapper 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.Wrapper) *CSSSkew

CSSSkewFromJS is casting a js.Wrapper 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.Wrapper) *CSSSkewX

CSSSkewXFromJS is casting a js.Wrapper 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.Wrapper) *CSSSkewY

CSSSkewYFromJS is casting a js.Wrapper 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.Wrapper) *CSSStyleValue

CSSStyleValueFromJS is casting a js.Wrapper 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

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.Wrapper) *CSSTransformComponent

CSSTransformComponentFromJS is casting a js.Wrapper 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

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.Wrapper) *CSSTransformValue

CSSTransformValueFromJS is casting a js.Wrapper 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.Wrapper) *CSSTransformValueEntryIterator

CSSTransformValueEntryIteratorFromJS is casting a js.Wrapper into CSSTransformValueEntryIterator.

func (*CSSTransformValueEntryIterator) JSValue

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

func (*CSSTransformValueEntryIterator) Next

type CSSTransformValueEntryIteratorValue

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

dictionary: CSSTransformValueEntryIteratorValue

func CSSTransformValueEntryIteratorValueFromJS

func CSSTransformValueEntryIteratorValueFromJS(value js.Wrapper) *CSSTransformValueEntryIteratorValue

CSSTransformValueEntryIteratorValueFromJS is allocating a new CSSTransformValueEntryIteratorValue object and copy all values from input javascript object

func (*CSSTransformValueEntryIteratorValue) JSValue

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

JSValue is allocating a new javasript 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.Wrapper) *CSSTransformValueKeyIterator

CSSTransformValueKeyIteratorFromJS is casting a js.Wrapper into CSSTransformValueKeyIterator.

func (*CSSTransformValueKeyIterator) JSValue

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

func (*CSSTransformValueKeyIterator) Next

type CSSTransformValueKeyIteratorValue

type CSSTransformValueKeyIteratorValue struct {
	Value uint
	Done  bool
}

dictionary: CSSTransformValueKeyIteratorValue

func CSSTransformValueKeyIteratorValueFromJS

func CSSTransformValueKeyIteratorValueFromJS(value js.Wrapper) *CSSTransformValueKeyIteratorValue

CSSTransformValueKeyIteratorValueFromJS is allocating a new CSSTransformValueKeyIteratorValue object and copy all values from input javascript object

func (*CSSTransformValueKeyIteratorValue) JSValue

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

JSValue is allocating a new javasript 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.Wrapper) *CSSTransformValueValueIterator

CSSTransformValueValueIteratorFromJS is casting a js.Wrapper into CSSTransformValueValueIterator.

func (*CSSTransformValueValueIterator) JSValue

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

func (*CSSTransformValueValueIterator) Next

type CSSTransformValueValueIteratorValue

type CSSTransformValueValueIteratorValue struct {
	Value *CSSTransformComponent
	Done  bool
}

dictionary: CSSTransformValueValueIteratorValue

func CSSTransformValueValueIteratorValueFromJS

func CSSTransformValueValueIteratorValueFromJS(value js.Wrapper) *CSSTransformValueValueIteratorValue

CSSTransformValueValueIteratorValueFromJS is allocating a new CSSTransformValueValueIteratorValue object and copy all values from input javascript object

func (*CSSTransformValueValueIteratorValue) JSValue

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

JSValue is allocating a new javasript object and copy all values

type CSSTranslate

type CSSTranslate struct {
	CSSTransformComponent
}

class: CSSTranslate

func CSSTranslateFromJS

func CSSTranslateFromJS(value js.Wrapper) *CSSTranslate

CSSTranslateFromJS is casting a js.Wrapper 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.Wrapper) *CSSUnitValue

CSSUnitValueFromJS is casting a js.Wrapper 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.Wrapper) *CSSUnparsedValue

CSSUnparsedValueFromJS is casting a js.Wrapper 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.Wrapper) *CSSUnparsedValueEntryIterator

CSSUnparsedValueEntryIteratorFromJS is casting a js.Wrapper into CSSUnparsedValueEntryIterator.

func (*CSSUnparsedValueEntryIterator) JSValue

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

func (*CSSUnparsedValueEntryIterator) Next

type CSSUnparsedValueEntryIteratorValue

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

dictionary: CSSUnparsedValueEntryIteratorValue

func CSSUnparsedValueEntryIteratorValueFromJS

func CSSUnparsedValueEntryIteratorValueFromJS(value js.Wrapper) *CSSUnparsedValueEntryIteratorValue

CSSUnparsedValueEntryIteratorValueFromJS is allocating a new CSSUnparsedValueEntryIteratorValue object and copy all values from input javascript object

func (*CSSUnparsedValueEntryIteratorValue) JSValue

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

JSValue is allocating a new javasript 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.Wrapper) *CSSUnparsedValueKeyIterator

CSSUnparsedValueKeyIteratorFromJS is casting a js.Wrapper into CSSUnparsedValueKeyIterator.

func (*CSSUnparsedValueKeyIterator) JSValue

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

func (*CSSUnparsedValueKeyIterator) Next

type CSSUnparsedValueKeyIteratorValue

type CSSUnparsedValueKeyIteratorValue struct {
	Value uint
	Done  bool
}

dictionary: CSSUnparsedValueKeyIteratorValue

func CSSUnparsedValueKeyIteratorValueFromJS

func CSSUnparsedValueKeyIteratorValueFromJS(value js.Wrapper) *CSSUnparsedValueKeyIteratorValue

CSSUnparsedValueKeyIteratorValueFromJS is allocating a new CSSUnparsedValueKeyIteratorValue object and copy all values from input javascript object

func (*CSSUnparsedValueKeyIteratorValue) JSValue

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

JSValue is allocating a new javasript 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.Wrapper) *CSSUnparsedValueValueIterator

CSSUnparsedValueValueIteratorFromJS is casting a js.Wrapper into CSSUnparsedValueValueIterator.

func (*CSSUnparsedValueValueIterator) JSValue

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

func (*CSSUnparsedValueValueIterator) Next

type CSSUnparsedValueValueIteratorValue

type CSSUnparsedValueValueIteratorValue struct {
	Value *Union
	Done  bool
}

dictionary: CSSUnparsedValueValueIteratorValue

func CSSUnparsedValueValueIteratorValueFromJS

func CSSUnparsedValueValueIteratorValueFromJS(value js.Wrapper) *CSSUnparsedValueValueIteratorValue

CSSUnparsedValueValueIteratorValueFromJS is allocating a new CSSUnparsedValueValueIteratorValue object and copy all values from input javascript object

func (*CSSUnparsedValueValueIteratorValue) JSValue

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

JSValue is allocating a new javasript 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.Wrapper) *CSSVariableReferenceValue

CSSVariableReferenceValueFromJS is casting a js.Wrapper 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

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.Wrapper) *StylePropertyMap

StylePropertyMapFromJS is casting a js.Wrapper 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.Wrapper) *StylePropertyMapReadOnly

StylePropertyMapReadOnlyFromJS is casting a js.Wrapper 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

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.Wrapper) *StylePropertyMapReadOnlyEntryIterator

StylePropertyMapReadOnlyEntryIteratorFromJS is casting a js.Wrapper into StylePropertyMapReadOnlyEntryIterator.

func (*StylePropertyMapReadOnlyEntryIterator) JSValue

func (*StylePropertyMapReadOnlyEntryIterator) Next

type StylePropertyMapReadOnlyEntryIteratorValue

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

dictionary: StylePropertyMapReadOnlyEntryIteratorValue

func StylePropertyMapReadOnlyEntryIteratorValueFromJS

func StylePropertyMapReadOnlyEntryIteratorValueFromJS(value js.Wrapper) *StylePropertyMapReadOnlyEntryIteratorValue

StylePropertyMapReadOnlyEntryIteratorValueFromJS is allocating a new StylePropertyMapReadOnlyEntryIteratorValue object and copy all values from input javascript object

func (*StylePropertyMapReadOnlyEntryIteratorValue) JSValue

JSValue is allocating a new javasript 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.Wrapper) *StylePropertyMapReadOnlyKeyIterator

StylePropertyMapReadOnlyKeyIteratorFromJS is casting a js.Wrapper into StylePropertyMapReadOnlyKeyIterator.

func (*StylePropertyMapReadOnlyKeyIterator) JSValue

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

func (*StylePropertyMapReadOnlyKeyIterator) Next

type StylePropertyMapReadOnlyKeyIteratorValue

type StylePropertyMapReadOnlyKeyIteratorValue struct {
	Value string
	Done  bool
}

dictionary: StylePropertyMapReadOnlyKeyIteratorValue

func StylePropertyMapReadOnlyKeyIteratorValueFromJS

func StylePropertyMapReadOnlyKeyIteratorValueFromJS(value js.Wrapper) *StylePropertyMapReadOnlyKeyIteratorValue

StylePropertyMapReadOnlyKeyIteratorValueFromJS is allocating a new StylePropertyMapReadOnlyKeyIteratorValue object and copy all values from input javascript object

func (*StylePropertyMapReadOnlyKeyIteratorValue) JSValue

JSValue is allocating a new javasript 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.Wrapper) *StylePropertyMapReadOnlyValueIterator

StylePropertyMapReadOnlyValueIteratorFromJS is casting a js.Wrapper into StylePropertyMapReadOnlyValueIterator.

func (*StylePropertyMapReadOnlyValueIterator) JSValue

func (*StylePropertyMapReadOnlyValueIterator) Next

type StylePropertyMapReadOnlyValueIteratorValue

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

dictionary: StylePropertyMapReadOnlyValueIteratorValue

func StylePropertyMapReadOnlyValueIteratorValueFromJS

func StylePropertyMapReadOnlyValueIteratorValueFromJS(value js.Wrapper) *StylePropertyMapReadOnlyValueIteratorValue

StylePropertyMapReadOnlyValueIteratorValueFromJS is allocating a new StylePropertyMapReadOnlyValueIteratorValue object and copy all values from input javascript object

func (*StylePropertyMapReadOnlyValueIteratorValue) JSValue

JSValue is allocating a new javasript 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