clear method
void
clear()
Implementation
void clear() {
if (input != null) {
if (input?.tagName == "INPUT") {
(input as HTMLInputElement).value = "";
}
if (input?.tagName == "TEXTAREA") {
(input as HTMLTextAreaElement).value = "";
}
}
}