Sha256: 98d8626f0361caeaf6df75fd117df9e9a78f48b3294518b090b7f1c1fc2c1af1
Contents?: true
Size: 366 Bytes
Versions: 3
Compression:
Stored size: 366 Bytes
Contents
import { Controller } from "@hotwired/stimulus" // Connects to data-controller="slim-select" export default class extends Controller { connect() { console.log(`slim-select connected: ${this.element}`) self.slimSelect = new SlimSelect({ select: this.element }) } disconnect() { self.slimSelect.destroy() self.slimSelect = null } }
Version data entries
3 entries across 3 versions & 1 rubygems