click method

void click()

Implementation

void click() {
  flushLayout();
  Event clickEvent = MouseEvent(EVENT_CLICK, detail: 1, view: ownerDocument.defaultView);
  // If element not in tree, click is fired and only response to itself.
  dispatchEvent(clickEvent);
}