Sha256: d36982c69d732bcebe60320533975b763db1cbe9630a8bb42b286e589a08e72c
Contents?: true
Size: 436 Bytes
Versions: 40
Compression:
Stored size: 436 Bytes
Contents
import tippy from "tippy.js" import ApplicationController from "satis/controllers/application_controller" export default class extends ApplicationController { static values = { content: String } connect() { const self = this tippy(this.element, { content: (reference) => this.contentValue, allowHTML: true, // trigger: "click", interactive: true, appendTo: () => document.body, }) } }
Version data entries
40 entries across 40 versions & 1 rubygems