Documentation - v7.17.0
    Preparing search index...

    Type Alias TrustableEvent<E>

    TrustableEvent: E & { __ddIsTrusted?: boolean }

    An event that may carry the __ddIsTrusted marker.

    Synthetic events dispatched by the SDK itself (or by test helpers) have isTrusted: false. Setting __ddIsTrusted: true on them lets addEventListener accept them even when untrusted events are not allowed (see setAllowUntrustedEvents).

    Type Parameters