pseudo

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

Documentation

Overview

Package pseudo defines pseudo-elements, abstract elements that represent portions of the CSS render tree that can be selected and styled.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CSSPseudoElement

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

class: CSSPseudoElement

func CSSPseudoElementFromJS

func CSSPseudoElementFromJS(value js.Value) *CSSPseudoElement

CSSPseudoElementFromJS is casting a js.Value into CSSPseudoElement.

func CSSPseudoElementFromWrapper

func CSSPseudoElementFromWrapper(input core.Wrapper) *CSSPseudoElement

CSSPseudoElementFromJS is casting from something that holds a js.Value into CSSPseudoElement.

func (*CSSPseudoElement) Animate

func (_this *CSSPseudoElement) Animate(keyframes *javascript.Object, options *Union) (_result *webani.Animation)

func (*CSSPseudoElement) ConvertPointFromNode

func (_this *CSSPseudoElement) ConvertPointFromNode(point *geometry.DOMPointInit, from *Union, options *view.ConvertCoordinateOptions) (_result *geometry.DOMPoint)

func (*CSSPseudoElement) ConvertQuadFromNode

func (_this *CSSPseudoElement) ConvertQuadFromNode(quad *geometry.DOMQuadInit, from *Union, options *view.ConvertCoordinateOptions) (_result *geometry.DOMQuad)

func (*CSSPseudoElement) ConvertRectFromNode

func (_this *CSSPseudoElement) ConvertRectFromNode(rect *geometry.DOMRectReadOnly, from *Union, options *view.ConvertCoordinateOptions) (_result *geometry.DOMQuad)

func (*CSSPseudoElement) Element

func (_this *CSSPseudoElement) Element() *dom.Element

Element returning attribute 'element' with type dom.Element (idl: Element).

func (*CSSPseudoElement) GetAnimations

func (_this *CSSPseudoElement) GetAnimations() (_result []*webani.Animation)

func (*CSSPseudoElement) GetBoxQuads

func (_this *CSSPseudoElement) GetBoxQuads(options *view.BoxQuadOptions) (_result []*geometry.DOMQuad)

func (*CSSPseudoElement) JSValue

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

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

func (*CSSPseudoElement) Style

func (_this *CSSPseudoElement) Style() *cssom.CSSStyleDeclaration

Style returning attribute 'style' with type cssom.CSSStyleDeclaration (idl: CSSStyleDeclaration).

func (*CSSPseudoElement) Type

func (_this *CSSPseudoElement) Type() string

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

type CSSPseudoElementList

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

class: CSSPseudoElementList

func CSSPseudoElementListFromJS

func CSSPseudoElementListFromJS(value js.Value) *CSSPseudoElementList

CSSPseudoElementListFromJS is casting a js.Value into CSSPseudoElementList.

func CSSPseudoElementListFromWrapper

func CSSPseudoElementListFromWrapper(input core.Wrapper) *CSSPseudoElementList

CSSPseudoElementListFromJS is casting from something that holds a js.Value into CSSPseudoElementList.

func (*CSSPseudoElementList) GetByType

func (_this *CSSPseudoElementList) GetByType(_type string) (_result *CSSPseudoElement)

func (*CSSPseudoElementList) Item

func (_this *CSSPseudoElementList) Item(index uint) (_result *CSSPseudoElement)

func (*CSSPseudoElementList) JSValue

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

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

func (*CSSPseudoElementList) Length

func (_this *CSSPseudoElementList) Length() uint

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

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