Relative positioning for trays

This commit is contained in:
Andy Smith
2025-05-22 12:30:15 -05:00
parent cfdaffeecb
commit a22c69bbc3
5 changed files with 134 additions and 96 deletions
@@ -6,12 +6,18 @@ export default class extends Controller {
modal: { type: Boolean, default: false }
}
connect() {
console.log("connect")
}
open() {
const modal = this.modalValue
if (modal) {
console.log(modal)
this.dialogTarget.showModal()
} else {
console.log("NOT FOUND")
this.dialogTarget.show()
}
}