Download Free Install Free
  • Angular
  • Animation



Encapsulates a reusable animation. Instantiated and returned by the useAnimation() function.

def convert_to_byte_array(img):
Converts an image file to a byte array for use with the
Rekognition API
img_byte_arr = io.BytesIO(), format='PNG')
img_byte_arr = img_byte_arr.getvalue()
return img_byte_arr


animation: AnimationReferenceMetadata

An animation reference object.

options: AnimationOptions | null

An options object containing a delay and developer-defined parameters that provide styling defaults and can be overridden on invocation. Default delay is 0.

Want to code faster?

Kite is a plugin for your favorite text editor that provides useful completions sorted by relevance. Available in Python and Javascript — start coding faster today!

Download Kite Now – It's Free!

Code Faster in JavaScript with Multi-Line Code Completions

Learn More