nilbuild/driver.js
 Watch   
 Star   
 Fork   
16 days ago
driver.js

1.6.0

Added

  • animationDuration config to control how long the highlight transition takes. (#104)
  • allowScroll config to lock body scroll while a tour is active.
  • onDoneClick hook, fired when the done button on the final step is clicked. (#500)
  • data property on a step for passing arbitrary data, accessible from hooks for custom per-step logic. (#539)

Changed

Fixed

  • Document event listener leak in onDriverClick that left handlers attached after the tour was destroyed. (#452)
  • Dropped the CSS :has() selector for broader browser compatibility. (#586)
  • Positioned highlighted elements and their children (e.g. dropdown menus) no longer get clipped. (#454, #563)
  • removeChild DOMException when re-rendering a popover whose wrapper was already detached from the DOM. (#572)
  • Close button on a single-element highlight() popover did nothing when clicked. It now closes the popover by default, respecting allowClose and any custom onCloseClick. (#444)
18 days ago
driver.js

1.5.0

  • [x] Add done-btn class to next button (closes #610)
  • [x] Pass final state to onDestroyed hook (closes #553)
  • [x] Keep tour open on arrow-left at step 1 (closes #564)
  • [x] Remove button text-shadow ghost text (closes #605)
  • [x] Fire onNextClick on overlay nextStep (closes #576)
  • [x] Add getNextStep to the driver API (closes #420)
  • [x] Remove unicode characters from buttons
2025-11-19 06:21:52
driver.js
2025-05-13 16:38:12
driver.js

1.3.6

Thank you @jarikmarwede @SliverYuki and @ervan23 for the contributions 🙏

2025-02-02 23:53:50
driver.js

1.3.4

2025-02-02 12:24:29
driver.js

1.3.2

2023-11-11 02:12:28
driver.js

1.3.1

2023-09-04 18:17:14
driver.js
2023-08-04 09:03:02
driver.js

1.2.0

2023-07-24 07:36:29
driver.js

1.1.0