Sha256: d6c894eab146dce69f8838a8de7c35a0cdb257fe5578db172a29b7ac3d8befb4

Contents?: true

Size: 288 Bytes

Versions: 15

Compression:

Stored size: 288 Bytes

Contents

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

export default CocoComponent("tooltip", () => {
  return {
    init() {
      tippy(this.$el, {
        theme: "coco-tooltip",
        appendTo: () => document.body,
      });
    },
  };
});

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
coveragebook_components-0.19.8 app/components/coco/messaging/tooltip/tooltip.js
coveragebook_components-0.19.7 app/components/coco/messaging/tooltip/tooltip.js
coveragebook_components-0.19.6 app/components/coco/messaging/tooltip/tooltip.js
coveragebook_components-0.19.5 app/components/coco/messaging/tooltip/tooltip.js
coveragebook_components-0.19.4 app/components/coco/messaging/tooltip/tooltip.js
coveragebook_components-0.19.3 app/components/coco/messaging/tooltip/tooltip.js
coveragebook_components-0.19.2 app/components/coco/messaging/tooltip/tooltip.js
coveragebook_components-0.19.1 app/components/coco/messaging/tooltip/tooltip.js
coveragebook_components-0.19.0 app/components/coco/messaging/tooltip/tooltip.js
coveragebook_components-0.18.8 app/components/coco/messaging/tooltip/tooltip.js
coveragebook_components-0.18.7 app/components/coco/messaging/tooltip/tooltip.js
coveragebook_components-0.18.0 app/components/coco/messaging/tooltip/tooltip.js
coveragebook_components-0.17.7 app/components/coco/messaging/tooltip/tooltip.js
coveragebook_components-0.17.6 app/components/coco/messaging/tooltip/tooltip.js
coveragebook_components-0.17.5 app/components/coco/messaging/tooltip/tooltip.js