Skip to content

Conversation

@konclave
Copy link

@konclave konclave commented Oct 18, 2022

Implemented the progress bar that shows the time until the toast closes (#94)

How to use:

Toastify({
        progressBar: true,
        progressBarColor: 'coral',
        text: "With progress bar",
        gravity: "top",
        position: 'left'
    }).showToast();

Animation is done with CSS animation property.

@bengabp
Copy link

bengabp commented Nov 11, 2022

Please review and merge the pull requests, There are some features I need to use in my web project.

DieterHolvoet added a commit to DieterHolvoet/toastify-js that referenced this pull request Dec 11, 2022
@DieterHolvoet
Copy link

DieterHolvoet commented Dec 11, 2022

If #112 gets merged, we'll have to make sure to restart the progress bar animation after re-focusing the page. I already wrote the code, but one of two PR's will have to be merged before we can add that.

DieterHolvoet added a commit to DieterHolvoet/toastify-js that referenced this pull request Dec 11, 2022
@konclave konclave closed this by deleting the head repository Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants