Awesome Lists

v-scroll-lock

by phegman

TypeScriptpushed almost 4 years ago

A Vue.js directive for body scroll locking without breaking scrolling of a target element.

AI summary

Body Scroll Lock

A Vue.js directive for locking the body scroll on all elements except a specified target element.

stars
186
forks
13
watching
4
awesome list
1
View on GitHub

Embed the badge

Show how many awesome lists link to your project. The count updates automatically.

Awesome Lists badge
Markdown
[![Awesome Lists Badge](https://awesome.facts.dev/shield/phegman/v-scroll-lock/links.svg)](https://awesome.facts.dev/awesome/phegman/v-scroll-lock)
HTML
<a href="https://awesome.facts.dev/awesome/phegman/v-scroll-lock"><img src="https://awesome.facts.dev/shield/phegman/v-scroll-lock/links.svg" alt="Awesome Lists Badge" /></a>
Image URL
https://awesome.facts.dev/shield/phegman/v-scroll-lock/links.svg

Add a GitHub project

Missing a project or an awesome list? Paste its GitHub URL and we fetch it right away.