Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
@160over90/vue-floating-list-view
Advanced tools
Vue wrapper for the Plyr video player. Only supports the video player and not the audio player.
Creates a list of sections with a nav that provides a link to each section. The current section's li
is given the class active
in the nav
.
If you do not have
yarn
you can download it here.
yarn add @160over90/vue-floating-list-view
Include in main.js (app entry point)
import ListView from '@160over90/vue-floating-list-view';
Vue.use(ListView);
yarn install
yarn run serve
A simple example of the ListView component. The ListViewSection components are placed inside of a ListView component. The content inside of the ListViewSection components can be anything and does not have to be text.
<ListViewContainer>
<ListViewSection label="Section1">Section 1</ListViewSection>
<ListViewSection label="Section2">Section 2</ListViewSection>
<ListViewSection label="Section3">Section 3</ListViewSection>
</ListViewContainer>
rootMargin (Number, Default: 0) The root margin for intersection observer to determine when to recalculate the active element. If the nav is fixed, this is usually the height of the nav.
ordered (Boolean, Default: false) Determines whether the list in the nav should be an ordered or unordered list.
smoothScroll (Boolean, Default: false) Smooth scrolls to section when nav item is clicked. Polyfill needed if browser doesn't have native support.
label (String, Required) The section label used in the navigation. The label is also slugified to create an id for the section.
Polyfills are needed for intersection observer and smooth scrolling on browsers without native support. Recommended polyfill packages below.
FAQs
Vue wrapper for the Plyr video player. Only supports the video player and not the audio player.
The npm package @160over90/vue-floating-list-view receives a total of 3 weekly downloads. As such, @160over90/vue-floating-list-view popularity was classified as not popular.
We found that @160over90/vue-floating-list-view demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.