ViewStyle

Table of contents

Interface which holds view's properties and animations

Interface description

Inherit methods from Properties

SetTransition(tag string, animation Animation)

Sets the transition animation for the property if "animation" argument is not nil, and removes the transition animation of the property if "animation" argument is nil. The "tag" argument is the property name.

Transition(tag string) Animation

Returns the transition animation of the property. Returns nil is there is no transition animation.

Transitions() map[string]Animation

Returns the map of transition animations. The result is always non-nil.