How to use the veui/managers/alert.info function in veui

To help you get started, we’ve selected a few veui examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ecomfe / veui / packages / veui / demo / cases / Dialog.vue View on Github external
popupAlerts () {
      alertManager.success('The task was successfully completed!', 'Success', {
        ok: () => {
          this.$alert('This alert box will be closed after 3 seconds.')
          return new Promise(resolve => {
            setTimeout(() => {
              resolve()
            }, 3000)
          })
        }
      })
      alertManager.info('The task has been completed thirty percent.', 'Info')
      alertManager.error('Something went wrong!', 'Error')
      alertManager.warn('The name is invalid.', 'Warn')
    },
    popupConfirms () {
github ecomfe / veui / packages / veui / demo / cases / Dialog.vue View on Github external
popupAlerts () {
      alertManager.success('The task was successfully completed!', 'Success', {
        ok: () => {
          this.$alert('This alert box will be closed after 3 seconds.')
          return new Promise(resolve => {
            setTimeout(() => {
              resolve()
            }, 3000)
          })
        }
      })
      alertManager.info('The task has been completed thirty percent.', 'Info')
      alertManager.error('Something went wrong!', 'Error')
      alertManager.warn('The name is invalid.', 'Warn')
    },
    popupConfirms () {
github ecomfe / veui / demo / cases / SpecialDialog.vue View on Github external
popupAlerts () {
      alertManager.success('成功了', '成功标题', {
        ok () {
          alert('祝贺你成功了!')
        }
      })
      alertManager.info('提示信息', '提示标题')
      alertManager.error('出错了', '出错标题')
    },
    popupConfirms () {