Options🔗
Definition🔗
class Options implements \JsonSerializable
{
    /**
     * Enable inline editing
     */
    public bool $inlineEditing;
    /**
     * Show all available element types
     */
    public bool $showAdvancedTypes;
    /**
     * Enable pan and zoom
     */
    public bool $panZoom;
    /**
     * The root element of canvas (frame), where all canvas elements are nested
     * TODO: Figure out how to define a default value for this
     */
    public \Grafana\Foundation\Canvas\CanvasOptionsRoot $root;
}
Methods🔗
fromArray🔗
Builds this object from an array.
This function is meant to be used with the return value of json_decode($json, true).
jsonSerialize🔗
Returns the data representing this object, preparing it for JSON serialization with json_encode().