All Projects → valnub → Framework7 Upscroller Plugin

valnub / Framework7 Upscroller Plugin

A little framework7 plugin to give users a button to scroll up

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Framework7 Upscroller Plugin

Framework7 Plugin 3d Panels
Framework7 plugin to add 3d effect for side panels
Stars: ✭ 56 (+80.65%)
Mutual labels:  framework7, plugin
Sliding up panel
A draggable Flutter widget that makes implementing a SlidingUpPanel much easier!
Stars: ✭ 957 (+2987.1%)
Mutual labels:  plugin
Pmpro Addon Packages
Charge for access to specific pages or other post types in WordPress. Requires the Paid Memberships Pro plugin.
Stars: ✭ 20 (-35.48%)
Mutual labels:  plugin
Sanic Dispatcher
A Dispatcher extension for Sanic which also acts as a Sanic-to-WSGI adapter
Stars: ✭ 29 (-6.45%)
Mutual labels:  plugin
Ts Protoc Gen
Protocol Buffers Compiler (protoc) plugin for TypeScript and gRPC-Web.
Stars: ✭ 913 (+2845.16%)
Mutual labels:  plugin
Resharper Unity
Unity support for both ReSharper and Rider
Stars: ✭ 953 (+2974.19%)
Mutual labels:  plugin
Codeception Mailtrap
Codeception module to test email using Mailtrap.io
Stars: ✭ 15 (-51.61%)
Mutual labels:  plugin
Wp Gdpr Core
This WordPress plugin assists you in making your website ready for the GDPR. We try to cover the core WordPress features with this plugin.
Stars: ✭ 31 (+0%)
Mutual labels:  plugin
Skypeweb4adium
Adium protocol plugin to support Skype instant messaging
Stars: ✭ 30 (-3.23%)
Mutual labels:  plugin
Eslint Import Resolver Jest
🃏 Jest import resolution plugin for eslint-plugin-import
Stars: ✭ 29 (-6.45%)
Mutual labels:  plugin
Mpv Reload
mpv plugin for automatic reloading of slow/stuck video streams
Stars: ✭ 29 (-6.45%)
Mutual labels:  plugin
Vue Lazy Component
🐌 Vue.js 2.x 组件级懒加载方案-Vue.js 2.x component level lazy loading solution
Stars: ✭ 915 (+2851.61%)
Mutual labels:  plugin
Ida Cmake
IDA plugin CMake build-script
Stars: ✭ 30 (-3.23%)
Mutual labels:  plugin
Transport Pipes
Buildcraft without mods!
Stars: ✭ 21 (-32.26%)
Mutual labels:  plugin
Holovid
Stream videos from websites, all in-game!
Stars: ✭ 31 (+0%)
Mutual labels:  plugin
Mysimbl
📦 Plugin manager for macOS
Stars: ✭ 909 (+2832.26%)
Mutual labels:  plugin
Roundcube Thunderbird labels
Thunderbird Labels Plugin for Roundcube Webmail
Stars: ✭ 28 (-9.68%)
Mutual labels:  plugin
Gatsby Remark Embed Gist
Gatsby remark gists preprocessor
Stars: ✭ 30 (-3.23%)
Mutual labels:  plugin
Essentialsnk
Essentials plugin for Nukkit
Stars: ✭ 31 (+0%)
Mutual labels:  plugin
Flutter Woocommerce Api
WooCommerce API in Flutter, connect and start developing with the available endpoints like get products, create orders and more.
Stars: ✭ 31 (+0%)
Mutual labels:  plugin

Upscroller Plugin for Framework7

This plugin creates a blue button which slides in from the top of the screen when the user has scrolled down. When clicked or sliding back up manually, the button disappears.

Screenshot

Live demo

Check it here http://www.timo-ernst.net/misc/upscrollerdemo/

Install

npm install f7-upscroller

How to use

import upscroller from 'f7-upscroller';

Framework7.use(upscroller);

var app = new Framework7({
  root: '#app',
  name: 'Upscroller demo',
  theme: 'ios',
  upscroller: {
    // text: 'Go down',
    // ignorePages: ['about'],
  },
});

var mainView = app.views.create('.view-main');

The default label of the button is 'Go up'. If you'd like to change the button label, simply declare it during your app's initialization.

Ignore pages

The Upscroller Plugin is included in every page you enter. If you want to ignore the upscroller plugin in some pages, you may now use the following parameter:

var app = new Framework7({
  root: '#app', // Your app root id
  theme: 'ios',
  upscroller: {
    ignorePages: ['about'], // Add pages to ignore here
  },
});

Example

Open demo/dist/index.html in your browser.

Demo source code

Check demo/src/index.js

F7 compatibility

F7 version Compatible?
1.x No (For older version with compatibility of F7 v1 check here.)
2.x (V2) Yes

That's it. Happy coding! :-)

Made with <3 by www.timo-ernst.net

My YouTube channel about Framework7: http://youtube.com/xvalmar

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].