Skip to content
On this page

UnbindListeners

Unbind Keybind library.

Parameters

NameTypeMandatoryDefault
targetHTMLElementtrue-

Returns

void

Usage

ts
import { unbindListeners } from "keybind";

// Init KeyBind and do some stuff ...

unbindListeners(document.body);