add method

void add(
  1. JSObject element, [
  2. JSAny? before
])

The HTMLSelectElement.add() method adds an element to the collection of option elements for this select element.

Implementation

external void add(
  JSObject element, [
  JSAny? before,
]);