MIT License
qnotifymanager is an UI App Extension
for Quasar Framework v1. It will not work with legacy versions of Quasar Framework.
This work is currently in beta
and there are expected changes while things get worked out. Your help with testing is greatly appreciated.
To add this App Extension to your Quasar application, run the following (in your Quasar app folder):
quasar ext add @quasar/qnotifymanager
This app extension adds a 'type' key to the Notify plugin object parameter. With it, you can define multiple Notify default values, provided in Quasar through Notify.setDefaults
.
Can be found here.
QNotifyManager comes with positive, negative, info, warning and snackbar presets.
this.$q.notify({
type: 'positive', // use the 'positive' preset
message: 'My message is awesome!'
})
import { setDefaults } from 'quasar-app-extension-qnotifymanager/src/qnotifymanager'
setDefaults({
myTypeName() {
return {
// default values object, e.g. position: 'bottom', color: 'red' ...
}
}
If you like (and use) this App Extension, please consider becoming a Quasar Patreon.