code: function dispatchFitEvent(f) {
      f.element.dispatchEvent(new CustomEvent('fit', {
        detail: {
          oldValue: f.previousFontSize,
          newValue: f.currentFontSize,
          scaleFactor: f.currentFontSize / f.previousFontSize
        }
      }));
    }
docs: dispatch a fit event on a fitty