Sha256: d925a441bb9c1af2a2a6456ba8ab6cda344e46bed544b9c7ac12ac980fbd7848

Contents?: true

Size: 523 Bytes

Versions: 3

Compression:

Stored size: 523 Bytes

Contents

"use strict";

const UIEventImpl = require("./UIEvent-impl").implementation;

class KeyboardEventImpl extends UIEventImpl {
  initKeyboardEvent(type, bubbles, cancelable, view, key, location, modifiersList, repeat, locale) {
    if (this._dispatchFlag) {
      return;
    }

    this.initUIEvent(type, bubbles, cancelable, view, key);
    this.location = location;
    this.modifiersList = modifiersList;
    this.repeat = repeat;
    this.locale = locale;
  }
}

module.exports = {
  implementation: KeyboardEventImpl
};

Version data entries

3 entries across 3 versions & 3 rubygems

Version Path
learn_create-0.0.22 lib/templates/javascript_lab_template/node_modules/jsdom/lib/jsdom/living/events/KeyboardEvent-impl.js
lanes-0.8.0 node_modules/jsdom/lib/jsdom/living/events/KeyboardEvent-impl.js
select_all-rails-0.3.1 node_modules/jsdom/lib/jsdom/living/events/KeyboardEvent-impl.js