Sha256: 4d1a83a2030a1d9b5a2006f8d91c6dcce6d38dec1ec32c20abdef412ab4f56c2
Contents?: true
Size: 448 Bytes
Versions: 62
Compression:
Stored size: 448 Bytes
Contents
// Visit The Stimulus Handbook for more details // https://stimulusjs.org/handbook/introduction // // This example controller works with specially annotated HTML like: // // <div data-controller="hello"> // <h1 data-target="hello.output"></h1> // </div> import { Controller } from "stimulus" export default class extends Controller { static targets = [ "output" ] connect() { this.outputTarget.textContent = 'Hello, Stimulus!' } }
Version data entries
62 entries across 62 versions & 4 rubygems