Sha256: ac7d20f5c70714d89d8e0af21971d2146fa58dd1473996f2866b8bf35c404d22

Contents?: true

Size: 381 Bytes

Versions: 4

Compression:

Stored size: 381 Bytes

Contents

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

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

    document.body.addEventListener(
      "submit",
      (event) => {
        dc.onSubmit(event) && ddw.onSubmit(event);
      },
      { capture: true }
    );
  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

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