Giter Site home page Giter Site logo

framework7-upscroller-plugin's People

Contributors

batje avatar galebnas avatar kivancsahici avatar klvn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

framework7-upscroller-plugin's Issues

Change text on the fly

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

mainView is not defined error on click

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 ($$("[data-page='"+pageData.name+"'] > .searchbar")[0]) $$("[data-page='"+pageData.name+"'] > .upscroller").css('top', '-10px');

The blue button goes out of the view with search bar...

Not working with Smart Select

Hi, thanks for the awesome plugin!

The scroll button appears at the top of smart select that opens in popup, but it doesn't work.

screen shot 2017-04-03 at 02 56 53

Update code to work with Searchbar

Again thank you for the great plugin.

Just add this line of code after line 11
if ($$("[data-page='"+pageData.name+"'] > .searchbar")[0]) $$('.upscroller').css('top', '-10px');

this will make the upscroller div appear below the Searchbar not over it.

Update code to work with multiple views app

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.