A simple notification system for Cyclops.
let notif = new Cyclops({
'selector', 'choose your selector'
});
notif.info('Info', 'Information Message');
notif.success('Success!', 'Great, you a re register');
notif.warning('Warning', 'Oh oh, you are not allowed here !');
notif.error('Error !', 'An error has occured !');
You will need to stylise the following classes:
.info
: Information.success
: Success.warning
: Warning.error
: Error
Released under the MIT License. See the bundled LICENSE file for details.