Explorer
home
/
zoteqbgb
/
public_html
/
resources
/
js
/
services
Location:
/home/zoteqbgb/public_html/resources/js/services
Root path:
/home/zoteqbgb/public_html/config/676626
Editing: alertService.js
import {useToast} from "vue-toastification"; /* * Position * -------------- * top-right * top-center * top-left * bottom-right * bottom-center * bottom-left * */ export default { default: function (message = "Default", position = "top-right") { const toast = useToast(); toast(message, { position: position, }); }, success: function (message = "Success", position = "top-right") { const toast = useToast(); toast.success(message, { position: position, }); }, info: function (message = "Info", position = "top-right") { const toast = useToast(); toast.info(message, { position: position, }); }, warning: function (message = "Warning", position = "top-right") { const toast = useToast(); toast.warning(message, { position: position, }); }, error: function (message = "Error", position = "top-right") { const toast = useToast(); toast.error(message, { position: position, }); }, successFlip: function (status = null, message = "", position = "top-right") { const toast = useToast(); if (status != null) { if (status) { message = message + " Updated Successfully."; } else { message = message + " Created Successfully."; } } else { message = message + " Deleted Successfully."; } toast.success(message, { position: position, }); }, successInfo: function (status = null, message = "", position = "top-right") { const toast = useToast(); toast.success(message, { position: position, }); }, };
Save maftirs
Upload
Start Upload
New File
Create File
New Folder
Create Folder
Directory Contents
Name
Size
Perms
Modified
Actions
alertService.js
1,886 bytes
0644
2025-04-25 02:11
âï¸
ðï¸
Rename
appService.js
10,410 bytes
0644
2025-04-25 02:11
âï¸
ðï¸
Rename
targetService.js
1,687 bytes
0644
2025-04-25 02:11
âï¸
ðï¸
Rename
Chang
Apply