Sha256: a59c3350710c4add3429c829aa56cd5681196a53b639303a3925934a537082e1

Contents?: true

Size: 248 Bytes

Versions: 48

Compression:

Stored size: 248 Bytes

Contents

import { Controller } from "@hotwired/stimulus"

// Connects to data-controller="<%= controller_identifier %>"
export default class extends Controller {
  connect() {
    console.log(`<%= controller_identifier %> connected: ${this.element}`)
  }
}

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
plutonium-0.12.3 lib/generators/pu/gen/component/templates/controller.js.tt
plutonium-0.12.2 lib/generators/pu/gen/component/templates/controller.js.tt
plutonium-0.12.1 lib/generators/pu/gen/component/templates/controller.js.tt
plutonium-0.12.0 lib/generators/pu/gen/component/templates/controller.js.tt
plutonium-0.11.2 lib/generators/pu/gen/component/templates/controller.js.tt
plutonium-0.11.1 lib/generators/pu/gen/component/templates/controller.js.tt
plutonium-0.11.0 lib/generators/pu/gen/component/templates/controller.js.tt
plutonium-0.8.0 lib/generators/pu/gen/component/templates/controller.js.tt