@lingcz/vue-keep-scroll
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

install

npm install @lingcz/vue-keep-scroll --save

# or

yarn add @lingcz/vue-keep-scroll

usage

<template>
    <div>
        <div class="container" style="overflow-y: scroll;"></div>
    </div>
</template>

<script>
import vueKeepScroll from '@lingczvue-keep-scroll'

export default {
    mixins: [vueKeepScroll('.container', { x: true })]
}
</script>

Readme

Keywords

Package Sidebar

Install

npm i @lingcz/vue-keep-scroll

Weekly Downloads

0

Version

1.1.1

License

MIT

Unpacked Size

9.14 kB

Total Files

6

Last publish

Collaborators

  • lingcz