import { Event } from './Event.mjs';

// https://w3c.github.io/uievents/#interface-focusevent
class FocusEvent extends Event {
  constructor(type, eventInitDict = {}) {
    super(type, eventInitDict);
    this.relatedTarget = eventInitDict.relatedTarget ?? null;
  }
}

export { FocusEvent };
