item property

dynamic item

Implementation

external dynamic
    /*{
      /**
       * Set click event handler to the legend item.
       */
      onclick?(id: any): void;
      /**
       * Set mouseover event handler to the legend item.
       */
      onmouseover?(id: any): void;
      /**
       * Set mouseout event handler to the legend item.
       */
      onmouseout?(id: any): void;
  }*/
    get item;
void item= (dynamic v)

Implementation

external set item(
    dynamic
        /*{
      /**
       * Set click event handler to the legend item.
       */
      onclick?(id: any): void;
      /**
       * Set mouseover event handler to the legend item.
       */
      onmouseover?(id: any): void;
      /**
       * Set mouseout event handler to the legend item.
       */
      onmouseout?(id: any): void;
  }*/
        v);