Sha256: 1eee4245822f617c56459abf66c507476be5f4f7ab61ead00a1551202ef01136

Contents?: true

Size: 269 Bytes

Versions: 16

Compression:

Stored size: 269 Bytes

Contents

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

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

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

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

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
coveragebook_components-0.10.0 app/components/coco/app/layouts/application/application.js
coveragebook_components-0.9.1 app/components/coco/app/layouts/application/application.js
coveragebook_components-0.9.0 app/components/coco/app/layouts/application/application.js
coveragebook_components-0.8.9 app/components/coco/app/layouts/application/application.js
coveragebook_components-0.8.8 app/components/coco/app/layouts/application/application.js
coveragebook_components-0.8.7 app/components/coco/app/layouts/application/application.js
coveragebook_components-0.8.6 app/components/coco/app/layouts/application/application.js
coveragebook_components-0.8.5 app/components/coco/app/layouts/application/application.js
coveragebook_components-0.8.4 app/components/coco/app/layouts/application/application.js
coveragebook_components-0.8.3 app/components/coco/app/layouts/application/application.js
coveragebook_components-0.8.2 app/components/coco/app/layouts/application/application.js
coveragebook_components-0.8.1 app/components/coco/app/layouts/application/application.js
coveragebook_components-0.8.0 app/components/coco/app/layouts/application/application.js
coveragebook_components-0.8.0.beta.3 app/components/coco/app/layouts/application/application.js
coveragebook_components-0.8.0.beta.2 app/components/coco/app/layouts/application/application.js
coveragebook_components-0.8.0.beta.1 app/components/coco/app/layouts/application/application.js