1import { Controller } from '@hotwired/stimulus'; 2 3/* 4 * This is an example Stimulus controller! 5 * 6 * Any element with a data-controller="hello" attribute will cause 7 * this controller to be executed. The name "hello" comes from the filename: 8 * hello_controller.js -> "hello" 9 * 10 * Delete this file or adapt it for your use! 11 */ 12export default class extends Controller { 13 connect() { 14 this.element.textContent = 'Hello Stimulus! Edit me in assets/controllers/hello_controller.js'; 15 } 16}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.