资讯

The first parameter is the thing to listen to. This can be an object, NodeList or CSS selector as above. The second parameter is the event to listen for, note that this doesn't include "on", event ...