Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fade on clicking the message #4

Closed
egoist opened this issue Jun 24, 2015 · 1 comment
Closed

fade on clicking the message #4

egoist opened this issue Jun 24, 2015 · 1 comment
Labels

Comments

@egoist
Copy link
Owner

egoist commented Jun 24, 2015

eg:

biu({
  text: 'hello there, done registered!',
  type: 'success',
  fadeOnClick: true
})

plus, when fadeOnClick is set to be true, the message won't be automatically hidden.

@egoist egoist added the todo label Jun 24, 2015
@egoist egoist changed the title fade on click the message fade on clicking the message Jun 24, 2015
@egoist egoist closed this as completed May 13, 2016
@calmdev
Copy link
Contributor

calmdev commented Jun 19, 2016

Yo, can we reopen this? I think it's a good option. Maybe the two options should work independently of each other though. That way we can enable both auto hide + fade on click at the same time. Right now there is behavior issue where if you keep clicking on the message it will never close. I haven't looked into fixing that, but was able to add fade on click.

My use case is for large view ports (2560x1440). The content is centered in a container with max width, but when appending biu to the body, gotta move the mouse 500ft to the right to click "x" close the message, or wait for it hide before being able to access whatever's behind it again. Would be convenient to speed that up with a click on message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants