Skip to content
Snippets Groups Projects
Select Git revision
  • 3af96c187658d0b00bd9bfc23138d5b0b547436b
  • main default protected
  • export
  • 28-conversion-tests
  • extraction
  • exploration
  • exploration-old
  • 2-encoding-fix
  • main-old
9 results

extract_page.py

Blame
  • hello_controller.js 490 B
    import { Controller } from 'stimulus';
    
    /*
     * This is an example Stimulus controller!
     *
     * Any element with a data-controller="hello" attribute will cause
     * this controller to be executed. The name "hello" comes from the filename:
     * hello_controller.js -> "hello"
     *
     * Delete this file or adapt it for your use!
     */
    export default class extends Controller {
        connect() {
            this.element.textContent = 'Hello Stimulus! Edit me in assets/controllers/hello_controller.js';
        }
    }