webapi: github.com/gowebapi/webapi/css/animations Index | Files | Directories

package animations

import "github.com/gowebapi/webapi/css/animations"

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

Package Files

animations.go doc.go

type AnimationEvent Uses

type AnimationEvent struct {
    domcore.Event
}

class: AnimationEvent

func AnimationEventFromJS Uses

func AnimationEventFromJS(value js.Wrapper) *AnimationEvent

AnimationEventFromJS is casting a js.Wrapper into AnimationEvent.

func NewAnimationEvent Uses

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

func (*AnimationEvent) AnimationName Uses

func (_this *AnimationEvent) AnimationName() string

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

func (*AnimationEvent) ElapsedTime Uses

func (_this *AnimationEvent) ElapsedTime() float64

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

func (*AnimationEvent) PseudoElement Uses

func (_this *AnimationEvent) PseudoElement() string

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

type AnimationEventInit Uses

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

dictionary: AnimationEventInit

func AnimationEventInitFromJS Uses

func AnimationEventInitFromJS(value js.Wrapper) *AnimationEventInit

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

func (*AnimationEventInit) JSValue Uses

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

JSValue is allocating a new javasript object and copy all values

type CSSKeyframeRule Uses

type CSSKeyframeRule struct {
    cssom.CSSRule
}

class: CSSKeyframeRule

func CSSKeyframeRuleFromJS Uses

func CSSKeyframeRuleFromJS(value js.Wrapper) *CSSKeyframeRule

CSSKeyframeRuleFromJS is casting a js.Wrapper into CSSKeyframeRule.

func (*CSSKeyframeRule) KeyText Uses

func (_this *CSSKeyframeRule) KeyText() string

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

func (*CSSKeyframeRule) SetKeyText Uses

func (_this *CSSKeyframeRule) SetKeyText(value string)

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

func (*CSSKeyframeRule) Style Uses

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

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

type CSSKeyframesRule Uses

type CSSKeyframesRule struct {
    cssom.CSSRule
}

class: CSSKeyframesRule

func CSSKeyframesRuleFromJS Uses

func CSSKeyframesRuleFromJS(value js.Wrapper) *CSSKeyframesRule

CSSKeyframesRuleFromJS is casting a js.Wrapper into CSSKeyframesRule.

func (*CSSKeyframesRule) AppendRule Uses

func (_this *CSSKeyframesRule) AppendRule(rule string)

func (*CSSKeyframesRule) CssRules Uses

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

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

func (*CSSKeyframesRule) DeleteRule Uses

func (_this *CSSKeyframesRule) DeleteRule(_select string)

func (*CSSKeyframesRule) FindRule Uses

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

func (*CSSKeyframesRule) Name Uses

func (_this *CSSKeyframesRule) Name() string

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

func (*CSSKeyframesRule) SetName Uses

func (_this *CSSKeyframesRule) SetName(value string)

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

type Union Uses

type Union struct {
    Value js.Value
}

func UnionFromJS Uses

func UnionFromJS(value js.Value) *Union

func (*Union) JSValue Uses

func (u *Union) JSValue() js.Value

Directories

PathSynopsis
webaniPackage webani defines a model for synchronization and timing of changes to the presentation of a Web page.

Package animations imports 3 packages (graph) and is imported by 3 packages. Updated 2019-09-18. Refresh now. Tools for package owners.