click method

void click()

Implementation

void click() {
  flushLayout();
  Event clickEvent = MouseEvent(EVENT_CLICK, MouseEventInit(bubbles: true, cancelable: true));
  // If element not in tree, click is fired and only response to itself.
  dispatchEvent(clickEvent);
}