Sha256: dab90724a7d309f3d23449b89b612c5d92e8e4fc5ba83afe30c08e6e31971f8c

Contents?: true

Size: 283 Bytes

Versions: 7

Compression:

Stored size: 283 Bytes

Contents

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

export default CocoComponent("appLayout", (opts) => {
  return {
    banner: false,

    init() {
      this.banner = opts.banner;
    },

    hideBanner() {
      this.banner = false;
      this.$el.remove();
    },
  };
});

Version data entries

7 entries across 7 versions & 1 rubygems

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