The Snippet.scale() method allows you to scale a snippet. Under the hood, it sets the data-scale property.
Snippet.scale()
data-scale
Snippet snippet.scale(scale, overwrite=true)
This method is chainable as it returns the Snippet object
Snippet