json-dom
    Preparing search index...

    Variable options

    options: {
        getListenerOptions: () => OptionsTemplate;
        numberToOptions: (
            optionsTemplate: OptionsTemplate,
            binaryOptions: number,
        ) => OptionsObject;
        optionsToNumber: (
            optionsTemplate: OptionsTemplate,
            listenerOptions?: ListenerOptions | null,
        ) => number;
    }

    Type Declaration

    • getListenerOptions: () => OptionsTemplate

      Retrieve the OptionsTemplate for EventListenerOptions.

    • numberToOptions: (optionsTemplate: OptionsTemplate, binaryOptions: number) => OptionsObject

      Take an integer representation of the listener options and convert them to the listener options object.

    • optionsToNumber: (
          optionsTemplate: OptionsTemplate,
          listenerOptions?: ListenerOptions | null,
      ) => number

      Take the given options and convert them (using binary) to an integer. Given listener options, each one is assigned a bitwise position. The resulting binary number represents any possible combination of the available flags set.