Giter VIP home page Giter VIP logo

notifyme's Introduction

What's notifyMe?

notifyMe is a simple plugin that i created for fun and learning for fixed notifications in pages. He works when a button is clicked, errors, validations, info and everything you want.

Get Started

notifyMe is a simple plugin that i created for fun and learning for fixed notifications in pages. He works when a button is clicked, errors, validations, info and everything you want.

Open terminal, and install the Gulp globally(if you don't have installed)

$ npm install --global gulp

After install gulp, install all dependencies of the project.

$ npm install

Gulpfile

In gulpfile.js we have just one task for compile sass. Write in terminal:

$ gulp compile-sass

or gulp watch for watch the changes and auto compile:

$ gulp watch

How to use

Call the stylesheet with the styles

<link rel="assets/css/notifyme.css" type="text/css" />

For use this plugin is necessary add jQuery lib in your page:

<script src="http://code.jquery.com/jquery-1.11.1.min.js"></script>

Add the notifyMe.js after jquery lib:

<script type="text/javascript" src="assets/js/notifyme.js"></script>

in a element is simple, for use when click in a button for example:

// Call notification when click in .error button, div, etc
$('.error').on('click', function(){
    $(this).notifyMe({
        position: 'bottom',
        type: 'error',
        title: 'Lorem Ipsum Text',
        content: 'Lorem Ipsum is simply dummy text of the printing',
        velocity: 200,
        delay: 2000 
    });
});

notifyme's People

Contributors

itbruno avatar lasvegasdream avatar timfjord avatar

Stargazers

Salman Ahmed avatar Yuichi TSUNEMATSU avatar Julien RAVIA avatar Ivan Vartanyan avatar  avatar  avatar Along Bao avatar 大宇 avatar Alex avatar liufajian avatar Devon Walker avatar MrP avatar Abhishek B. avatar Deives Fahl avatar Richard avatar O0oo0O avatar Angus H. avatar Matias Verdier avatar  avatar  avatar sldobri avatar 何事惊慌 avatar _haochuan avatar 大野 avatar Sumit Kataria avatar Nelson Guamán avatar Mahmoud Sami avatar Terry DeSimone avatar Anderson Peligrini avatar MeWebStudio - Muharrem ERİN avatar Hana Hsu avatar oxyo avatar Fahim Akhtar avatar Kevin Gorjan avatar Dung Nguyen avatar BJR Matos avatar Mahmoud Kanani avatar Guillermo Palafox avatar  avatar ruirui avatar Jiří Šmika avatar Ahmad Awais ⌘ avatar Andrea Tavazzani avatar 平常心 avatar maitokuwahara avatar Igor Bronovskyi avatar Kiyoshi Nakamo avatar MOTOO11 avatar Koichi Tamiya avatar Yuichi Tsunematsu avatar Kenta Murakami avatar Akrios avatar Mirjalal avatar Cristhian Molina avatar Matt Zimmermann avatar Rohit Trivedi avatar Aakash Doshi avatar  avatar  avatar Marvil Joy avatar akbarwibawa avatar Jiri Melcak avatar Pedro Coutinho avatar Marcelo Formentão avatar

Watchers

Vladimir Tkach avatar Luke Stevenson avatar oxyo avatar Pedro Coutinho avatar  avatar akbarwibawa avatar Hsuching avatar  avatar Fahim Akhtar avatar  avatar

notifyme's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.