Attract Class
Animates the change in a value.
The syntax is attract( value, config )
This requires an AttractorConfig that defines the style of the animation.
Example
<AttractorConfig Unit="Points" Easing="SinusoidalInOut" Duration="0.3" ux:Global="asPoints"/>
<Panel>
<Translation X="attract({xOffset}, asPoints)"/>
</Panel>
Where xOffset
is a context variable.
Location
- Namespace
- Fuse.Animations
- Package
- Fuse.Animations 2.9.1
Interface of Attract
Inherited from Expression
SourceFileName : string ux
hide
SourceLineNumber : int ux
hide
Subscribe(IContext, IListener) : IDisposable uno
See IExpression.Subscribe
for docs.
Inherited from object
Equals(object) : bool uno
GetHashCode : int uno
GetType : Type uno
ToString : string uno
Attached UX Attributes
GlobalKey (attached by Resource) : string ux
Implemented Interfaces
IExpression uno
ISourceLocation uno
hide