Friday, September 20, 2024 3:32:51 AM
> settings

Customize


Authenticate

> timestamp_controller.ts
import { Controller } from "@hotwired/stimulus"
import { bindTimestamp } from "../src/application_methods"

// Connects to data-controller="timestamp"
export default class extends Controller {
  connect() {
    bindTimestamp(this.element as HTMLElement)
  }
}
All opinions represented herein are my own
- © 2024 itsthedevman
- build 340fbb8