clear static method

void clear()

Clear the query string.

This method will trigger the onChange event.

Implementation

static void clear() {
  window.history.pushState(null, '', '/');
}