transitions

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: 2 Imported by: 3

Documentation

Overview

Package transitions allows property changes in CSS values to occur smoothly over a specified duration.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TransitionEvent

type TransitionEvent struct {
	domcore.Event
}

class: TransitionEvent

func NewTransitionEvent

func NewTransitionEvent(_type string, transitionEventInitDict *TransitionEventInit) (_result *TransitionEvent)

func TransitionEventFromJS

func TransitionEventFromJS(value js.Wrapper) *TransitionEvent

TransitionEventFromJS is casting a js.Wrapper into TransitionEvent.

func (*TransitionEvent) ElapsedTime

func (_this *TransitionEvent) ElapsedTime() float64

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

func (*TransitionEvent) PropertyName

func (_this *TransitionEvent) PropertyName() string

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

func (*TransitionEvent) PseudoElement

func (_this *TransitionEvent) PseudoElement() string

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

type TransitionEventInit

type TransitionEventInit struct {
	Bubbles       bool
	Cancelable    bool
	Composed      bool
	PropertyName  string
	ElapsedTime   float64
	PseudoElement string
}

dictionary: TransitionEventInit

func TransitionEventInitFromJS

func TransitionEventInitFromJS(value js.Wrapper) *TransitionEventInit

TransitionEventInitFromJS is allocating a new TransitionEventInit object and copy all values from input javascript object

func (*TransitionEventInit) JSValue

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

JSValue is allocating a new javasript object and copy all values

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
t or T : Toggle theme light dark auto
y or Y : Canonical URL