resetButton property

dynamic resetButton

Set to display zoom reset button for 'drag' type zoom

Implementation

external dynamic
    /*bool|{
      /**
       * Set callback when clicks the reset button. The callback will receive reset button element reference as argument.
       */
      onclick?(this: Chart, button: HTMLElement): void;

      /**
       * Text value for zoom reset button.
       */
      text?: string;
    }*/
    get resetButton;
void resetButton=(dynamic v)

Implementation

external set resetButton(
    dynamic
        /*bool|{
      /**
       * Set callback when clicks the reset button. The callback will receive reset button element reference as argument.
       */
      onclick?(this: Chart, button: HTMLElement): void;

      /**
       * Text value for zoom reset button.
       */
      text?: string;
    }*/
        v);