docs: def on_event_pre(self, e: Event) -> None:
          """Set values set on browser before calling event listeners."""
          super().on_event_pre(e)
          ct_msg = e.init.get('currentTarget', dict())
          if e.type in ('input', 'change'):
              self._set_attribute('value', ct_msg.get('value'))
              _selected = ct_msg.get('selectedOptions', [])
              self._selected_options.clear()
              for opt in self.options:
                  if opt.wdom_id in _selected:
                      self._selected_options.append(opt)
                      opt._set_attribute('selected', True)
                  else:
                      opt._remove_attribute('selected')