animations

package
Version: v0.0.0-...-704d94b Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2021 License: BSD-3-Clause Imports: 3 Imported by: 3

Documentation

Overview

Package animations is to animate the values of CSS properties over time, using keyframes. The behavior of these keyframe animations can be controlled by specifying their duration, number of repeats, and repeating behavior.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnimationEvent

type AnimationEvent struct {
	domcore.Event
}

class: AnimationEvent

func AnimationEventFromJS

func AnimationEventFromJS(value js.Wrapper) *AnimationEvent

AnimationEventFromJS is casting a js.Wrapper into AnimationEvent.

func NewAnimationEvent

func NewAnimationEvent(_type string, animationEventInitDict *AnimationEventInit) (_result *AnimationEvent)

func (*AnimationEvent) AnimationName

func (_this *AnimationEvent) AnimationName() string

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

func (*AnimationEvent) ElapsedTime

func (_this *AnimationEvent) ElapsedTime() float64

ElapsedTime returning attribute 'elapsedTime' with type float64 (idl: double).

func (*AnimationEvent) PseudoElement

func (_this *AnimationEvent) PseudoElement() string

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

type AnimationEventInit

type AnimationEventInit struct {
	Bubbles       bool
	Cancelable    bool
	Composed      bool
	AnimationName string
	ElapsedTime   float64
	PseudoElement string
}

dictionary: AnimationEventInit

func AnimationEventInitFromJS

func AnimationEventInitFromJS(value js.Wrapper) *AnimationEventInit

AnimationEventInitFromJS is allocating a new AnimationEventInit object and copy all values from input javascript object

func (*AnimationEventInit) JSValue

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

JSValue is allocating a new javasript object and copy all values

type CSSKeyframeRule

type CSSKeyframeRule struct {
	cssom.CSSRule
}

class: CSSKeyframeRule

func CSSKeyframeRuleFromJS

func CSSKeyframeRuleFromJS(value js.Wrapper) *CSSKeyframeRule

CSSKeyframeRuleFromJS is casting a js.Wrapper into CSSKeyframeRule.

func (*CSSKeyframeRule) KeyText

func (_this *CSSKeyframeRule) KeyText() string

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

func (*CSSKeyframeRule) SetKeyText

func (_this *CSSKeyframeRule) SetKeyText(value string)

SetKeyText setting attribute 'keyText' with type string (idl: DOMString).

func (*CSSKeyframeRule) Style

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

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

type CSSKeyframesRule

type CSSKeyframesRule struct {
	cssom.CSSRule
}

class: CSSKeyframesRule

func CSSKeyframesRuleFromJS

func CSSKeyframesRuleFromJS(value js.Wrapper) *CSSKeyframesRule

CSSKeyframesRuleFromJS is casting a js.Wrapper into CSSKeyframesRule.

func (*CSSKeyframesRule) AppendRule

func (_this *CSSKeyframesRule) AppendRule(rule string)

func (*CSSKeyframesRule) CssRules

func (_this *CSSKeyframesRule) CssRules() *cssom.CSSRuleList

CssRules returning attribute 'cssRules' with type cssom.CSSRuleList (idl: CSSRuleList).

func (*CSSKeyframesRule) DeleteRule

func (_this *CSSKeyframesRule) DeleteRule(_select string)

func (*CSSKeyframesRule) FindRule

func (_this *CSSKeyframesRule) FindRule(_select string) (_result *CSSKeyframeRule)

func (*CSSKeyframesRule) Name

func (_this *CSSKeyframesRule) Name() string

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

func (*CSSKeyframesRule) SetName

func (_this *CSSKeyframesRule) SetName(value string)

SetName setting attribute 'name' with type string (idl: DOMString).

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

Directories

Path Synopsis
Package webani defines a model for synchronization and timing of changes to the presentation of a Web page.
Package webani defines a model for synchronization and timing of changes to the presentation of a Web page.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL