progressBars
progressBars copied to clipboard
Changelog for ProgressBars v2.0.0: Modernization, New Features, and Improved Usability
Changelog
Version 2.0.0
- Replaced jQuery with Vanilla JavaScript: Eliminated jQuery dependency, rewriting all JavaScript functions in pure JavaScript for optimized performance.
- Enhanced CSS Design: Updated the progress bar with a modernized look, including rounded corners, improved color scheme, and a softer shadow effect.
- Positioned Progress Bar at Bottom Center: Maintained the original dimensions but aligned the bar at the bottom center of the screen for a consistent look and feel.
-
Default Visibility Set to
display: none: Ensured the progress bar is hidden by default (#minaset todisplay: none), appearing only when activated through exports. -
Created
startUIExport: Added an export function to start the progress bar with customizable time (in milliseconds) and display text. -
Created
setProgressExport: Added an export function to set the progress bar to a specific percentage (0-100%) on demand. -
Updated
fxmanifest.lua:- Registered
startUIandsetProgressas exports to make them easily accessible from other scripts. - Included
ui_pageandfilesto loadindex.htmlfor UI rendering.
- Registered
-
Added Documentation for Installation and Usage: Created a concise guide explaining setup, installation, and examples of how to use both
startUIandsetProgressexports. - Detailed Changelog: Documented every change and feature added during the entire update process, covering all major and minor improvements.
- Fixed Progress Bar Visibility Bug: Corrected the issue where the progress bar remained visible after completion; it now automatically hides once finished.