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

x/lume/deps/cliffy.ts>Toggle#handleEvent

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
method Toggle.prototype.handleEvent
import { Toggle } from "https://deno.land/x/lume@v2.3.2/deps/cliffy.ts";

Handle user input event.

Parameters

event: KeyCode

Key event.

Returns

Promise<void>