Comments (2)
ok, ho risolto dasolo anche se ho pagato 70 € per questa dashboard!
in un file (js/components/vendor/notify.js) ho messo :
(function ($) {
$.noty = function (type = null, title, message) {
let t = (type) ? type : 'info';
let i = 'fas fa-info-circle';
switch (t) {
case 'danger':
i = 'far fa-times-circle';
break;
case 'success':
i = 'far fa-check-circle';
break;
}
$.notify({
icon: i,
title: title,
message: message,
url: ''
}, {
element: 'body',
type: t,
allow_dismiss: true,
placement: {
from: 'top',
align: 'center'
},
offset: {
x: 15, // Keep this as default
y: 15 // Unless there'll be alignment issues as this value is targeted in CSS
},
spacing: 10,
z_index: 1080,
delay: 2500,
timer: 25000,
url_target: '_blank',
mouse_over: false,
animate: {
// enter: animIn,
// exit: animOut
enter: "animated fadeInUp",
exit: "animated fadeOut"
},
template: '<div data-notify="container" class="alert alert-dismissible alert-{0} alert-notify" role="alert">' +
'<span class="alert-icon" data-notify="icon"></span> ' +
'<div class="alert-text"</div> ' +
'<span class="alert-title" data-notify="title">{1}</span> ' +
'<span data-notify="message">{2}</span>' +
'</div>' +
// '<div class="progress" data-notify="progressbar">' +
// '<div class="progress-bar progress-bar-{0}" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%;"></div>' +
// '</div>' +
// '<a href="{3}" target="{4}" data-notify="url"></a>' +
'<button type="button" class="close" data-notify="dismiss" aria-label="Close"><span aria-hidden="true">×</span></button>' +
'</div>'
});
};
}(jQuery));
E per utilizzarlo :
<script type="application/javascript">
$.noty('danger','merda','sei troppo grasso!');
$.noty('success','merda','sei troppo grasso!');
$.noty('info','merda','sei troppo grasso!');
</script>
Risultato :
👎
from ct-argon-dashboard-pro.
Hi,
Thank you for the interest in our products and sorry for the late response.
Please check the official documentation(http://bootstrap-notify.remabledesigns.com/).
All the best,
Rares
from ct-argon-dashboard-pro.
Related Issues (20)
- [Bug] Dark mode, side nav turns light on resize HOT 2
- Menu topbar working fine on macbook browser, but not working when collapse submenu on window browser HOT 1
- [Bug] Datatables responsive
- How do you use required field validation on Wizard HOT 1
- [Bug] Task "gulp build" never defined HOT 1
- [Feature Request] Datatable Changes HOT 1
- [Bug] argon-input Unable to bind value using v-model HOT 1
- error on console - Uncaught Error: no element is specified to initialize PerfectScrollbar HOT 1
- [Bug] error on console - Uncaught Error: no element is specified to initialize PerfectScrollbar HOT 4
- [Bug] Editing item on Kanban board is odd
- Where can I find the Argon Dashboard Pro 1.2.1?
- Where can I find the Argon Dashboard Pro 1.2.1? HOT 1
- Where can I find the Argon Dashboard Pro 1.2.1? HOT 1
- Where can I find the Argon Dashboard Pro 1.2.1?
- Navbar HOT 1
- [Bug] Argan Dashoard 2 PRO with Meteor and Blaze
- [Bug] Formik form issue HOT 1
- Bugs When change into Dark Mode , theNavbar change to be white in mobile view HOT 1
- I would like to understand how the validation engine works. HOT 1
- [Feature Request] Can't it be used with 'nuxt ui'?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ct-argon-dashboard-pro.