# Universal Methods > **NOTE** > > This component is supported since API version 4. Updates will be marked with a superscript to indicate their earliest API version. After a component is assigned the **id** attribute, you can use the ID to obtain the component objects and call functions. ## animate animate( keyframes: Keyframes, options: Options): void - Parameters | Name | Type | Mandatory | Description | | --------- | --------- | --------- | ------------------------------------------------------------ | | keyframes | keyframes | Yes | Sets the animation style. | | options | Options | Yes | Array of objects used to set animation attributes. For details, see Options. | **Table 1** keyframes | Attribute | Type | Description | | --------- | ------------- | ------------------------------------------------------------ | | frames | Array\