Sha256: 7fefb5cac5fb5048f8c483f39499727803371059773c04ff54e00f85db266ea6
Contents?: true
Size: 399 Bytes
Versions: 8
Compression:
Stored size: 399 Bytes
Contents
import { Controller } from "@hotwired/stimulus" import tippy from "https://cdn.skypack.dev/tippy.js@6.3.7?min" 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
8 entries across 8 versions & 1 rubygems