mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-08 19:06:15 -08:00
- Introduced a new dataset attribute `data-id` to DOM elements for unique identification of danmuku items. - Updated validation to include an optional `id` field for danmuku objects. - Changed the property `$id` to `$index` for better clarity on its purpose as an index rather than a unique identifier. - Ensured the `data-id` attribute is set for visibility control during hover interactions.