You use it by applying a class to an element on the page and setting a few parameters with some extra HTML
attributes. If the element is an
or it has a
set in your CSS
, PaintbrushJS will create a temporary
element and manipulate the image there, before finally saving it back out to the original element.