This commit is contained in:
tugcekucukoglu
2024-08-05 09:27:58 +03:00
parent 3ba6d75db2
commit 4c7b0c0f5d
101 changed files with 119 additions and 117 deletions

View File

@@ -7,21 +7,21 @@ const message = ref([]);
const username = ref(null);
const email = ref(null);
const showSuccess = () => {
function showSuccess() {
toast.add({ severity: 'success', summary: 'Success Message', detail: 'Message Detail', life: 3000 });
};
}
const showInfo = () => {
function showInfo() {
toast.add({ severity: 'info', summary: 'Info Message', detail: 'Message Detail', life: 3000 });
};
}
const showWarn = () => {
function showWarn() {
toast.add({ severity: 'warn', summary: 'Warn Message', detail: 'Message Detail', life: 3000 });
};
}
const showError = () => {
function showError() {
toast.add({ severity: 'error', summary: 'Error Message', detail: 'Message Detail', life: 3000 });
};
}
</script>
<template>