'use strict';

Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });

const Event = require('./Event.cjs');

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

exports.FocusEvent = FocusEvent;
