Updated on 2023-10-12 GMT+08:00

Developing the Function of Removing Listening Events

  1. Remove the Init listening event.

    AICCSupport.removeHandler('Init');

    Init is the value of the eventName parameter of the removeHandler method.

    Table 1 Input parameter of the removeHandler method

    Parameter

    Type

    Name

    Mandatory or Not

    Description

    eventName

    String

    Event name

    Yes

    Event name, such as the example in 1.

  2. Press F12 to open the browser console. If the output log "[AICCSupport Log] -Info- removeHandler - remove Init handler" can be found, the listening event is removed successfully.