mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
feat: add config variable menu
This commit is contained in:
14
httpdocs/assets/js/safekat/components/modal.js
Normal file
14
httpdocs/assets/js/safekat/components/modal.js
Normal file
@ -0,0 +1,14 @@
|
||||
class Modal{
|
||||
constructor(domItem){
|
||||
|
||||
this.item = domItem
|
||||
}
|
||||
toggle(){
|
||||
this.item.modal('toggle');
|
||||
}
|
||||
show(){
|
||||
this.item.modal('show');
|
||||
}
|
||||
}
|
||||
|
||||
export default Modal;
|
||||
Reference in New Issue
Block a user