🦉
Anacleto
GitHub
  • Anacleto
  • Getting started
    • Setup Anacleto
      • Setup local environmen
    • First tutorial
  • Anacleto Frontend
    • UI Builder
      • Components
        • DataTable
        • Form
          • Controls
            • Autocomplete
            • Button
            • CodeEditor
            • Dropdown
            • Image
            • InputText
            • Label
        • GridContainer
        • Splitter
        • Stack
        • TabView
        • Tree
    • Translation
    • Frontend script
      • Dialog and Toast
      • Window
  • Anacleto Backend
    • Backend script
      • googleBigQuery
      • googleDatastore
      • logger - console
      • mysql
      • Utils
  • Google cloud platform
    • Google
  • Anacleto developer
    • Work with us
      • Guidelines
    • Setup local enviroment
Powered by GitBook
On this page
  • utils.confirmDialog
  • utils.showToast
  1. Anacleto Frontend
  2. Frontend script

Dialog and Toast

utils.confirmDialog

utils.showConfirmDialog({
    message: 'Do you want to delete this record?',
    header: 'Delete Confirmation',s
    icon: 'pi pi-info-circle',
    acceptClassName: 'p-button-danger',
    accept: function(){},
    reject: function(){},
});

utils.showToast

utils.showToast({severity:'warning', summary: 'TODO', detail:'Non implementato', life: 3000});
utils.toast.show({severity:'warning', summary: 'TODO', detail:'Non implementato', life: 3000});
PreviousFrontend scriptNextWindow

Last updated 2 years ago