Sha256: 54c15fc47aa62dde4fe4770d3a13d0f63b1ccc0a526c13ca4f22abb16c5a00c1
Contents?: true
Size: 322 Bytes
Versions: 5
Compression:
Stored size: 322 Bytes
Contents
import { BridgeComponent } from "@hotwired/strada" export default class extends BridgeComponent { static component = "flash-message" connect() { super.connect() this.notifyBridgeOfConnect() } notifyBridgeOfConnect() { const title = this.bridgeElement.title this.send("connect", { title }) } }
Version data entries
5 entries across 5 versions & 1 rubygems