Sha256: 602865e1fa86d2928739bf0bafeecf77733e2ce358a81e8714ca6bc5ea445339

Contents?: true

Size: 273 Bytes

Versions: 7

Compression:

Stored size: 273 Bytes

Contents

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

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

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
coveragebook_components-0.12.2 app/components/coco/app/elements/confirm_panel/confirm_panel.js
coveragebook_components-0.12.1 app/components/coco/app/elements/confirm_panel/confirm_panel.js
coveragebook_components-0.12.0 app/components/coco/app/elements/confirm_panel/confirm_panel.js
coveragebook_components-0.11.0 app/components/coco/app/elements/confirm_panel/confirm_panel.js
coveragebook_components-0.10.1.beta.2 app/components/coco/app/elements/confirm_panel/confirm_panel.js
coveragebook_components-0.10.1.beta.1 app/components/coco/app/elements/confirm_panel/confirm_panel.js
coveragebook_components-0.10.1.beta.0 app/components/coco/app/elements/confirm_panel/confirm_panel.js