Sha256: 1ed4560e79394330ba37eb6e245dcc73a30dededb512c03e07e964c6c226829c
Contents?: true
Size: 395 Bytes
Versions: 9
Compression:
Stored size: 395 Bytes
Contents
import { Controller } from "@hotwired/stimulus" import tippy from "https://cdn.skypack.dev/tippy.js@6.3.7" export default class extends Controller { static values = { content: String } connect() { this.tooltip = tippy(this.element, { content: this.contentValue, arrow: false, interactive: true, delay: [700, 0], offset: [0, 3] }) } disconnect() { this.tooltip.destroy() } }
Version data entries
9 entries across 9 versions & 1 rubygems