Ti.FluidView is an open-source project to support the BAFluidView library in Appcelerator's Titanium Mobile.
- Titanium Mobile SDK 5.2.0.GA or later
- iOS 7.1 or later
- Xcode 6.4 or later
- Stable release
- Install from gitTio
Unpack the module and place it inside the modules/iphone/
folder of your project.
Edit the modules section of your tiapp.xml
file to include this module:
<modules>
<module platform="iphone">ti.fluidview</module>
</modules>
- fillColor
- fillAutoReverse
- fillRepeatCount
- fillDuration
- strokeColor
- strokeWidth
- lineWidth
- maxAmplitude
- minAmplitude
- amplitudeIncrement
- fillTo()
- startAnimation()
- startTiltAnimation()
- stopAnimation()
- keepStationary()
var win = Titanium.UI.createWindow({
backgroundColor:'#fff'
});
var Fluid = require("ti.fluidview");
var fluidView = Fluid.createView({
fillColor: "green"
// Expose more from the above properties here
});
win.add(fluidView);
win.open();
Hans Knoechel (@hansemannnn / Web)
Apache 2.0
Code contributions are greatly appreciated, please submit a new pull request!