API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfacePlatformEvent
The part of a host event the input pipeline can act on: suppressing the host's own default handling of it. Both calls are the DOM's, and a real `Event` satisfies this interface as it is - the browser's events cross the seam untouched, with no wrapper and no copy. What the interface adds is that an adapter with no DOM behind it can satisfy the same contract with a plain object, which a DOM event class could never be reconstructed as on the far side of a `postMessage`.
import { PlatformEvent } from '@codexo/exojs'The part of a host event the input pipeline can act on: suppressing the host's own default handling of it.
Both calls are the DOM's, and a real `Event` satisfies this interface as it is - the browser's events cross the seam untouched, with no wrapper and no copy. What the interface adds is that an adapter with no DOM behind it can satisfy the same contract with a plain object, which a DOM event class could never be reconstructed as on the far side of a `postMessage`.
preventDefault(): voidstopImmediatePropagation(): void