Sha256: 9de072317af5e2d1d132db00161bd9730c308239e6209bccad1860ed910a183f

Contents?: true

Size: 177 Bytes

Versions: 2

Compression:

Stored size: 177 Bytes

Contents

import { Controller } from "@hotwired/stimulus"

// Connects to data-controller="reset-form"
export default class extends Controller {
  reset() {
    this.element.reset()
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hotwire_scaffold_generator-1.0.1 lib/generators/hotwire_scaffold/client_controller/templates/stimulus_controller.js.tt
hotwire_scaffold_generator-1.0.0 lib/generators/hotwire_scaffold/client_controller/templates/stimulus_controller.js.tt