Snippet.scale()

The Snippet.scale() method allows you to scale a snippet. Under the hood, it sets the data-scale property.

Signature

Javascript
Snippet snippet.scale(scale, overwrite=true)
TIP|

This method is chainable as it returns the Snippet object

Example