PERGOLA LOGO

Cursors Library

pergola.cursors (defined in lib/cursors.js) is a function that defines SVG <cursor> elements.

Current list of cursors: "lensCursor"; "minusCursor"; "plusCursor". Read also the Cursors chapter in the tutorial.

pergola.cursors()

Defines and appends SVG <cursor> elements to pergola.defs.