Skip to main content

Snippet.scale()

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

Signature

Snippet snippet.scale(scale, overwrite=true)
tip

This method is chainable as it returns the Snippet object

Example

fixme: Errors logged. Please implement log view

An example of the Snippet.clone() method