@flow
{
"methods": [
{
"line": 17,
"source": "startAnimation: function(\n node: any,\n duration: number,\n delay: number,\n easing: (string | EasingFunction),\n properties: {[key: string]: any}\n ): number {\n var nodeHandle = +node.getNodeHandle();\n var easingSample = AnimationUtils.evaluateEasingFunction(duration, easing);\n var tag: number = RCTAnimationManager.startAnimation(nodeHandle, AnimationUtils.allocateTag(), duration, delay, easingSample, properties);\n return tag;\n }",
"modifiers": [
"static"
],
"params": [
{
"typehint": "any",
"name": "node"
},
{
"typehint": "{\"type\":\"simple\",\"value\":\"number\",\"length\":1}",
"name": "duration"
},
{
"typehint": "{\"type\":\"simple\",\"value\":\"number\",\"length\":1}",
"name": "delay"
},
{
"typehint": "(string | EasingFunction)",
"name": "easing"
},
{
"typehint": "{[key: string]: any}",
"name": "properties"
}
],
"tparams": null,
"returntypehint": "{\"type\":\"simple\",\"value\":\"number\",\"length\":1}",
"name": "startAnimation"
},
{
"line": 30,
"source": "stopAnimation: function(tag: number) {\n RCTAnimationManager.stopAnimation(tag);\n }",
"modifiers": [
"static"
],
"params": [
{
"typehint": "{\"type\":\"simple\",\"value\":\"number\",\"length\":1}",
"name": "tag"
}
],
"tparams": null,
"returntypehint": null,
"name": "stopAnimation"
}
],
"properties": [
[
[
"static"
],
"",
"Mixin",
"require('AnimationMixin')",
"",
15
]
],
"superClass": null,
"type": "api",
"line": 14,
"name": "Animation",
"docblock": "/**\n *\n * @flow\n */\n",
"requires": [
{
"name": "NativeModules"
},
{
"name": "AnimationUtils"
},
{
"name": "AnimationMixin"
}
]
}