snowfall-js-plugin
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -5,2 +5,6 @@ # Changelog | ||
## [0.0.5] - 2024-01-30 | ||
- Minor bug fix for issue TG-16, misplaced aria attribute. | ||
## [0.0.4] - 2024-01-29 | ||
@@ -7,0 +11,0 @@ |
{ | ||
"name": "snowfall-js-plugin", | ||
"description": "Snowfall-js-plugin is a JavaScript library to add some winter magic to your project. This package creates animated snowflakes on a web page using HTML5 canvas and JavaScript classes, no dependencies. You can customize the number, size, speed, color and text of the snowflakes, and enjoy the beautiful snow falling effect on your website or app. Snowfall.js-plugin is easy to use and compatible with most browsers and devices. The plugins comes with optional features: keyboard focusable and customizable switches to allow the users to toggle the animation on/off — simply add one or more containers with the proper class name; store the user preferences in local storage; enable hardware restriction to automatically disable the animation on low end devices; enable a date range: for example, only activate the animation during winter months.", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"main": "index.js", | ||
@@ -6,0 +6,0 @@ "type": "module", |
@@ -41,5 +41,3 @@ import { setUserSettings } from "./userSettings.js"; | ||
label.classList.add("snow-animation-switch__label"); | ||
label.role = "checkbox"; | ||
label.htmlFor = `snow-animation-switch__input${i}`; | ||
label.ariaChecked = false; | ||
label.tabIndex = 0; | ||
@@ -46,0 +44,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
121248
1565