docs: function TrEvent(type, opt_bubbles, opt_preventable) {
        var e = tr.doc.createEvent('Event');
        e.initEvent(type, !!opt_bubbles, !!opt_preventable);
        e.__proto__ = global.Event.prototype;
        return e;
      }