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 ¶
- type AnimationEvent
- type AnimationEventInit
- type CSSKeyframeRule
- type CSSKeyframesRule
- func (_this *CSSKeyframesRule) AppendRule(rule string)
- func (_this *CSSKeyframesRule) CssRules() *cssom.CSSRuleList
- func (_this *CSSKeyframesRule) DeleteRule(_select string)
- func (_this *CSSKeyframesRule) FindRule(_select string) (_result *CSSKeyframeRule)
- func (_this *CSSKeyframesRule) Name() string
- func (_this *CSSKeyframesRule) SetName(value string)
- type Union
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnimationEvent ¶
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 ¶
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 ¶
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).