Close modals with escape or click outside box
This commit is contained in:
1 parent
f8a8b66ab2
commit
1a99817e48
4 files changed
+23
-11
No files matched your search
@@ -266,4 +266,10 @@ class Actual extends Component
|
||||
$this->switchDifferenceCSS = "bg-blue-700";
|
||||
}
|
||||
}
|
||||
|
||||
public function closeAllModals() {
|
||||
$this->modalFieldUpdate = false;
|
||||
$this->modalColumnUpdate = false;
|
||||
$this->modalDelete = false;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user