Coder Social home page Coder Social logo

Comments (4)

scleriot avatar scleriot commented on July 26, 2024

What do you think about this to determine if we want to display indefinitely : if duration defined in style = 0, then display Croutons indefinitely

from crouton.

scleriot avatar scleriot commented on July 26, 2024

Do you consider as an issue that when you display an infinite Crouton, you can't show any other Crouton above it ?

from crouton.

keyboardsurfer avatar keyboardsurfer commented on July 26, 2024

This is a feature of Crouton since it's initial release.
If a Crouton is being displayed, no other Crouton can be displayed above that.

from crouton.

pommedeterresautee avatar pommedeterresautee commented on July 26, 2024

Hi,

Regarding this new feature (indefinit displayed) I tested it in my application this morning.

It works as advertised, no issue with that.... BUT I think there is an API issue here.

To remove it I need to call Crouton.hide(blabla), so I need a click listener and all the stuff... it makes lots of mandatory boiler code.

A good improvement would be a default listener on every Crouton, when you click on a Crouton, whatever is its duration, it disappears. It may also be setAutoDisappear(true/false)...

What do you think about that?

Regards

from crouton.

Related Issues (20)

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.