Options🔗
Definition🔗
class Options:
# Enable inline editing
inline_editing: bool
# Show all available element types
show_advanced_types: bool
# Enable pan and zoom
pan_zoom: bool
# Enable infinite pan
infinite_pan: bool
# The root element of canvas (frame), where all canvas elements are nested
# TODO: Figure out how to define a default value for this
root: canvas.CanvasOptionsRoot
Methods🔗
to_json🔗
Converts this object into a representation that can easily be encoded to JSON.
from_json🔗
Builds this object from a JSON-decoded dict.