valnub / framework7-upscroller-plugin Goto Github PK
View Code? Open in Web Editor NEWA little framework7 plugin to give users a button to scroll up
A little framework7 plugin to give users a button to scroll up
Hi,
is there a way to change the text on the fly? I'd need to be able to change the text based on user language...
Thanks
Luigi
Hi, I'm using the version here
https://github.com/valnub/Framework7-Upscroller-Plugin/tree/master/src
It gives error when clicking: "mainView" is not defined.
Copying from other versions I changed from
var curpage = $$(".page-content", mainView.activePage.container);
to
var curpage = $$(".page-content", app.getCurrentView().activePage.container);
and it works fine.
To be noted also that if I add:
if (
The blue button goes out of the view with search bar...
Again thank you for the great plugin.
Just add this line of code after line 11
if (
this will make the upscroller div appear below the Searchbar not over it.
Hi and thank you very much for this plugin :)
please update the code of the plugin at the line 16 to be:
var curpage = $$(".page-content", app.getCurrentView().activePage.container);
this will help the plugin to work with multiple views apps
Thank you again
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.