Sha256: 4f852471c53e914f126eec8b25c34d39a4ca0d6fc9fb5f73f6e2869f94d34c50
Contents?: true
Size: 234 Bytes
Versions: 2
Compression:
Stored size: 234 Bytes
Contents
import { Controller } from "@hotwired/stimulus" export default class extends Controller { static targets = [ "dependent" ] check({ target }) { this.dependentTargets.forEach(element => element.checked = target.checked) } }
Version data entries
2 entries across 2 versions & 1 rubygems