Sha256: 4da9608cdb2e2a8a54045c7d2fa2ad0e591a7804ef6373b52666a1cd83a1fdfc
Contents?: true
Size: 337 Bytes
Versions: 27
Compression:
Stored size: 337 Bytes
Contents
import { Controller } from "@hotwired/stimulus" export default class extends Controller { static get targets() { return ["frame"] } update(event) { let select = event.currentTarget let option = select.options[select.selectedIndex] let src = option.dataset.parentPagesUrl this.frameTarget.src = src } }
Version data entries
27 entries across 27 versions & 1 rubygems