0.1.2 • Published 4 years ago

@dadajam4/busy-sidebar v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

Busy Sidebar

It is a fork of the wonderful "Sticky Sidebar" and customized.

Thanks

Many thanks to abouolia for such a great implementation.

What is this?

I have made some changes to the "Sticky Sidebar".

  • Deleted the global object reference settings. This is to prevent unnecessary errors under SSR environment.
  • Rewritten in TypeScript.
  • The interface has been slightly revised to make it easier to use from frameworks such as Vue and React.
  • Use "ResizeObserver" instead of "ResizeSensor.js". The reason is that "Resize Observer" is standardly implemented in all browsers.

Demo

https://dadajam4.github.io/busy-sidebar/

Instlration

npm install @dadajam4/busy-sidebar -D