• Removes an event handler for the specified event

    Parameters

    • obj: any
    • eventNameWithoutOn: string

      {string} - The name of the event, with optional namespaces or just the namespaces, such as "click", "click.mynamespace" or ".mynamespace"

    • handlerRef: any

      {any} - The callback function that needs to be removed from the given event, when using a namespace (with or without a qualifying event) this may be null to remove all previously attached event handlers otherwise this will only remove events with this specific handler.

    • useCapture: boolean = false

      [Optional] Defaults to false

    Returns void