Sha256: eeca5534736609d65bd2fd20b96aabe132f7aad04db0b21d0062134290dc4603

Contents?: true

Size: 268 Bytes

Versions: 3

Compression:

Stored size: 268 Bytes

Contents

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

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
coveragebook_components-0.14.0 app/components/coco/buttons/confirm_panel/confirm_panel.js
coveragebook_components-0.13.1 app/components/coco/buttons/confirm_panel/confirm_panel.js
coveragebook_components-0.13.0 app/components/coco/buttons/confirm_panel/confirm_panel.js