select method

void select()

Select the input element.

Implementation

void select() {
  if (input != null) {
    if (input?.tagName == "INPUT") {
      (input as HTMLInputElement).select();
    }

    if (input?.tagName == "TEXTAREA") {
      (input as HTMLTextAreaElement).select();
    }
  }
}