Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/pptr/mod.ts>EventEmitter#off

Headless Chrome Deno API
Latest
method EventEmitter.prototype.off
Re-export
import { EventEmitter } from "https://deno.land/x/pptr@1.2.0/mod.ts";

Remove an event listener from firing.

Parameters

event: EventType
  • the event type you'd like to stop listening to.
handler: Handler
  • the function that should be removed.

Returns

this to enable you to chain calls.