@tempots/dom > HeadlessContext > on
Signature:
readonly on: <E>(event: string, listener: (event: E) => void) => Clear;