mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-06-18 12:40:37 +03:00
1.3 KiB
1.3 KiB
Changelog
0.5.0
Features
Added the possibility to defer the initialization to a point in time when the browser is idle. (or to the next frame if window.requestIdleCallback is not supported)
OverlayScrollbarsComponentaccepts now thedeferpropertyuseOverlayScrollbarsparams accept now thedeferkeyuseOverlayScrollbarswill now always try to destroy the instance if the component unmounts.
Breaking Changes
- Because initialization can be deferred now, the
initializefunction of theuseOverlayScrollbarscomposable isn't returning the instance anymore. Use theinstancefunction of theuseOverlayScrollbarscomposable instead.
0.4.0
Depends on OverlayScrollbars version ^2.0.0 and Vue version ^3.2.25.
The component was rewritten using script setup.
Features
OverlayScrollbarsComponentaccepts now theeventspropertyOverlayScrollbarsComponentaccepts now theelementpropertyOverlayScrollbarsComponentemits now allOverlayScrollbarsevents as "native" Vue events- The
useOverlayScrollbarscomposable was added for advanced usage
Breaking Changes
- The
extensionsproperty is removed fromOverlayScrollbarsComponent - The
osTarget()function from theOverlayScrollbarsComponentrefis renamed togetElement()