Hype Animation Frame

Document Methods

4min

HypeAnimationFrame.version

JS


Description

The value of the version property is a string containing the current version of the extension



HypeAnimationFrame.stopAllAnimationFrames

JS


Description

This method stops all running Hype Animation Frames across all Hype documents on the page.



HypeAnimationFrame.stopAnimationFrameByHypeDocumentId

JS


Parameter

documentId

This parameter must be a string determining the document id of your Hype document

animationFrameId

The id to of the animation frame you want to stop. This id was set while creating the animation frame and if none was given defaults to the callback function as a reference.

Description

This method stops a specific Hype Animation Frame for a specific Hype document on the page.



HypeAnimationFrame.stopAllAnimationFramesByHypeDocumentId

JS


Parameter

documentId

This parameter must be a string determining the document id of your Hype document

Description

This method stops all running Hype Animation Frames for a specific Hype document on the page.

Example