is-scrolltop-adjust
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

is-scrolltop-adjust

Judge browser support scrolltop auto adjust? Chrome and Firefox are supported, but Safari and other browser not.

Install

npm i is-scrolltop-adjust

Use

browser

<script src="node_module/is-scrolltop-adjust/dist/index.build.js"></script>
<script>
  console.log(isScrolltopAdjust.default()); // true|false
</script>

build env

import isScrolltopAdjust from "is-scrolltop-adjust";

console.log(isScrolltopAdjust());

Readme

Keywords

none

Package Sidebar

Install

npm i is-scrolltop-adjust

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

10.8 kB

Total Files

7

Last publish

Collaborators

  • leogiese