Sha256: 22bc502e009680876ad6fddcd2fa75f6806fbf102c6ef6a93820fd3d9ca3079e

Contents?: true

Size: 259 Bytes

Versions: 41

Compression:

Stored size: 259 Bytes

Contents

import { CocoComponent } from "@js/coco.js";

export default CocoComponent("appConfirmPanel", () => {
  return {
    confirm() {
      this.$dispatch("confirmation:confirm");
    },

    cancel() {
      this.$dispatch("confirmation:cancel");
    },
  };
});

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
coveragebook_components-0.7.6 app/components/coco/app/elements/confirm_panel/confirm_panel.js
coveragebook_components-0.7.5 app/components/coco/app/elements/confirm_panel/confirm_panel.js
coveragebook_components-0.7.4 app/components/coco/app/elements/confirm_panel/confirm_panel.js
coveragebook_components-0.7.3 app/components/coco/app/elements/confirm_panel/confirm_panel.js
coveragebook_components-0.7.2 app/components/coco/app/elements/confirm_panel/confirm_panel.js
coveragebook_components-0.7.1 app/components/coco/app/elements/confirm_panel/confirm_panel.js
coveragebook_components-0.7.0 app/components/coco/app/elements/confirm_panel/confirm_panel.js
coveragebook_components-0.6.5 app/components/coco/app/elements/confirm_panel/confirm_panel.js
coveragebook_components-0.6.4 app/components/coco/app/elements/confirm_panel/confirm_panel.js
coveragebook_components-0.6.3 app/components/coco/app/elements/confirm_panel/confirm_panel.js
coveragebook_components-0.6.2 app/components/coco/app/elements/confirm_panel/confirm_panel.js
coveragebook_components-0.6.1 app/components/coco/app/elements/confirm_panel/confirm_panel.js
coveragebook_components-0.6.0 app/components/coco/app/elements/confirm_panel/confirm_panel.js
coveragebook_components-0.5.7 app/components/coco/app/elements/confirm_panel/confirm_panel.js
coveragebook_components-0.5.6 app/components/coco/app/elements/confirm_panel/confirm_panel.js
coveragebook_components-0.5.5 app/components/coco/app/elements/confirm_panel/confirm_panel.js
coveragebook_components-0.5.4 app/components/coco/app/elements/confirm_panel/confirm_panel.js
coveragebook_components-0.5.3 app/components/coco/app/elements/confirm_panel/confirm_panel.js
coveragebook_components-0.5.2 app/components/coco/app/elements/confirm_panel/confirm_panel.js
coveragebook_components-0.5.1 app/components/coco/app/elements/confirm_panel/confirm_panel.js