apvarun / toastify-js

Pure JavaScript library for better notification messages
https://apvarun.github.io/toastify-js/
MIT License
2.09k stars 230 forks source link

Feature/sound #125

Open akii09 opened 1 year ago

akii09 commented 1 year ago

Description: This PR adds a new feature to the Toastify library, allowing users to add sound support to toast notifications. The feature enhances user engagement and provides audio cues for important notifications. The PR includes the necessary code changes to enable sound functionality and updates the README file with documentation and usage examples.

Changes Made: Added support for sound in the Toastify library. Implemented the ability to specify custom sound files or use default sounds. Updated the README file with detailed documentation and usage examples for the new sound feature.

Testing Done: ✔️ Created test cases to verify the correct behaviour of sound functionality. ✔️ Tested the feature with different sound types and custom sound files. ✔️ Verified that toast notifications display with the appropriate sound. ✔️ Please review and merge this PR. It adds valuable functionality to the Toastify library and improves the overall user experience.

Thank you!