pseudo-dom
    Preparing search index...

    Type Alias CreateEventOptions

    How the event is being created.

    type CreateEventOptions = {
        browser?: boolean;
        trusted?: boolean;
    }
    Index
    browser?: boolean

    The browser is creating the event (for a user action, or for something like element.click()), so the standard options for the type of event apply where the init does not give its own (default false)

    trusted?: boolean

    The event comes from a real user action rather than from a script (isTrusted) (default false)