ViewStyle

Table of contents

Interface which holds view's properties and animations

Interface description

Inherit methods from Properties

SetTransition(tag PropertyName, animation AnimationProperty)

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 PropertyName) AnimationProperty

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

Transitions() map[PropertyName]AnimationProperty

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