You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
197 B

5 months ago
  1. import { Controller } from "@hotwired/stimulus"
  2. export default class extends Controller {
  3. connect() {
  4. console.log('toast.js: ', this.element)
  5. this.element.textContent = "Toast #1"
  6. }
  7. }