Sha256: 2272740f2703461203d9296ed4c5cbec96bd919f392a196e89e2d1dc7ecc51e9

Contents?: true

Size: 368 Bytes

Versions: 44

Compression:

Stored size: 368 Bytes

Contents

import DataConfirm from "./data_confirm";
import DataDisableWith from "./data_disable_with";

export default class UJS {
  constructor() {
    this.dc = new DataConfirm();
    this.ddw = new DataDisableWith();

    document.addEventListener("submit", this, { capture: true });
  }

  handleEvent(event) {
    this.dc.onSubmit(event) && this.ddw.onSubmit(event);
  }
}

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
proscenium-0.15.0.beta.5-x86_64-linux lib/proscenium/libs/ujs/class.js
proscenium-0.15.0.beta.5-aarch64-linux lib/proscenium/libs/ujs/class.js
proscenium-0.15.0.beta.5-arm64-darwin lib/proscenium/libs/ujs/class.js
proscenium-0.15.0.beta.5-x86_64-darwin lib/proscenium/libs/ujs/class.js