How to use the pnotify/dist/es/PNotify.notice function in pnotify

To help you get started, we’ve selected a few pnotify 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 sciactive / pnotify / libtests / webpack / src / simple-notice.js View on Github external
export default function simpleNotice() {
  return PNotify.notice({
    title: "Yay!",
    text: "It works!"
  });
}
github sciactive / pnotify / libtests / rollup / src / module-notice.js View on Github external
export default function moduleNotice () {
  return PNotify.notice({
    title: 'Yay!',
    text: 'It works!',
    modules: {
      Confirm: {
        confirm: true
      }
    }
  });
}
github sciactive / pnotify / libtests / rollup / src / simple-notice.js View on Github external
export default function simpleNotice () {
  return PNotify.notice({
    title: 'Yay!',
    text: 'It works!'
  });
}
github sciactive / pnotify / libtests / webpack / src / module-notice.js View on Github external
export default function moduleNotice () {
  return PNotify.notice({
    title: 'Yay!',
    text: 'It works!',
    modules: {
      Confirm: {
        confirm: true
      }
    }
  });
}