Rename columns
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import { Controller } from "@hotwired/stimulus"
|
||||
import { nextFrame } from "helpers/timing_helpers";
|
||||
|
||||
export default class extends Controller {
|
||||
static targets = [ "clickable" ]
|
||||
|
||||
async click() {
|
||||
await nextFrame()
|
||||
this.clickableTarget.click()
|
||||
}
|
||||
}
|
||||
@@ -8,7 +8,7 @@ export default class extends Controller {
|
||||
}
|
||||
|
||||
connect() {
|
||||
this.dialogTarget.setAttribute('aria-hidden', 'true')
|
||||
this.dialogTarget.setAttribute("aria-hidden", "true")
|
||||
}
|
||||
|
||||
open() {
|
||||
@@ -21,7 +21,7 @@ export default class extends Controller {
|
||||
orient(this.dialogTarget)
|
||||
}
|
||||
|
||||
this.dialogTarget.setAttribute('aria-hidden', 'false')
|
||||
this.dialogTarget.setAttribute("aria-hidden", "false")
|
||||
this.dispatch("show")
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ export default class extends Controller {
|
||||
|
||||
close() {
|
||||
this.dialogTarget.close()
|
||||
this.dialogTarget.setAttribute('aria-hidden', 'true')
|
||||
this.dialogTarget.setAttribute("aria-hidden", "true")
|
||||
this.dialogTarget.blur()
|
||||
orient(this.dialogTarget, false)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user