Giter VIP home page Giter VIP logo

stimulus-notification's Introduction

Stimulus components

๐Ÿ‘‰ Introducing Stimulus components.

๐Ÿ“š Documentation

See Stimulus Components Website.

๐Ÿ‘ท Contributing

Do not hesitate to contribute to the controllers by adapting or adding features ! Bug reports or pull requests are welcome.

Don't forget to drop a ๐ŸŒŸ on GitHub to support the project.

๐Ÿ“ License

This project is released under the MIT license.

stimulus-notification's People

Contributors

guillaumebriday avatar maful avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

stimulus-notification's Issues

Possibility to have multiple (stacked?) Notifications

Hi, aweseome work!
Would it be possible to extend the behavior to allow multiple notifications to be active at once.
E.g. by stacking them on top of each other or else?
Or should / could this be done by another controller that simply handles the orientation of all messages?

If we find a good idea on how to achieve that I would be happy to contribute : )

Can't trigger same notification multiple times

Hey there,

When a user clicks a "Copy" button to put text on their clipboard, I'm using this package to trigger a "Copied to clipboard!" message.

I'm doing this by using the data-notification-hidden-value="true" functionality and triggering the notification with an event.

However, this notification only triggers the first time a user clicks "Copy." I'd expect it to trigger every time a user clicks "Copy".

It seems that, when the notification completes, it is deleted from the DOM. However, I'd expect the notification to return to its initial state - ready to be triggered again.

Can you add in the ability to trigger the same notification with the same event multiple times?

Thanks!

Open hidden notification via JavaScript

We have a custom stimulus controller that needs to open notifications.

It would be nice to have the option to make notifications that are hidden by default and can be opened via JavaScript.

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.