animations

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: 4 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.Value) *AnimationEvent

AnimationEventFromJS is casting a js.Value into AnimationEvent.

func AnimationEventFromWrapper

func AnimationEventFromWrapper(input core.Wrapper) *AnimationEvent

AnimationEventFromJS is casting from something that holds a js.Value 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.Value) *AnimationEventInit

AnimationEventInitFromJS is allocating a new AnimationEventInit object and copy all values in the value javascript object.

func (*AnimationEventInit) JSValue

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

JSValue is allocating a new javascript object and copy all values

type CSSKeyframeRule

type CSSKeyframeRule struct {
	cssom.CSSRule
}

class: CSSKeyframeRule

func CSSKeyframeRuleFromJS

func CSSKeyframeRuleFromJS(value js.Value) *CSSKeyframeRule

CSSKeyframeRuleFromJS is casting a js.Value into CSSKeyframeRule.

func CSSKeyframeRuleFromWrapper

func CSSKeyframeRuleFromWrapper(input core.Wrapper) *CSSKeyframeRule

CSSKeyframeRuleFromJS is casting from something that holds a js.Value 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.Value) *CSSKeyframesRule

CSSKeyframesRuleFromJS is casting a js.Value into CSSKeyframesRule.

func CSSKeyframesRuleFromWrapper

func CSSKeyframesRuleFromWrapper(input core.Wrapper) *CSSKeyframesRule

CSSKeyframesRuleFromJS is casting from something that holds a js.Value 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
y or Y : Canonical URL