Sha256: 091da55eb0b31a12676b8be7d672cee322b94ece151a53d5f6589c34ee6ad561
Contents?: true
Size: 349 Bytes
Versions: 4
Compression:
Stored size: 349 Bytes
Contents
import { Controller } from "@hotwired/stimulus" export default class extends Controller { static values = { target: String } close() { document.getElementById(this.targetValue).close() } show() { document.getElementById(this.targetValue).show() } showModal() { document.getElementById(this.targetValue).showModal() } }
Version data entries
4 entries across 4 versions & 1 rubygems