MCPcopy
hub / github.com/philc/vimium / constructor

Method constructor

content_scripts/mode.js:293–303  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

291
292class SuppressAllKeyboardEvents extends Mode {
293 constructor(options) {
294 if (options == null) {
295 options = {};
296 }
297 super();
298 const defaults = {
299 name: "suppressAllKeyboardEvents",
300 suppressAllKeyboardEvents: true,
301 };
302 super.init(Object.assign(defaults, options));
303 }
304}
305
306class CacheAllKeydownEvents extends SuppressAllKeyboardEvents {

Callers

nothing calls this directly

Calls 1

initMethod · 0.45

Tested by

no test coverage detected