Git Product home page Git Product logo

sidepane's Introduction

Dojo Mobile SidePane

Status: Experimental

A container displayed on the side of the screen. It can be displayed on top of the page (mode=overlay), can push the content of the page (mode=push) or reveal the content the pane (mode=reveal). Compatible with Dojo 1.9.x.

To open/close the panel, swipe from the border of the screen to the center or call the open() method of the widget.

Samples

Overlay mode: http://dmandrioli.github.io/sidepane/tests/test_SidePane-overlay.html

Push mode: http://dmandrioli.github.io/sidepane/tests/test_SidePane-push.html

Reveal mode: http://dmandrioli.github.io/sidepane/tests/test_SidePane-reveal.html

A sidePane visible only on the first load (cookie based) : http://dmandrioli.github.io/sidepane/tests/test_SidePane-VisibleOnce.html

Dojo Commits Explorer: http://dmandrioli.github.io/sidepane/tests/test_SidePane.html

Installing

Clone this repository into a Dojo 1.9 distribution, next to 'dojo', 'dojox' and 'dijit'.

Tested platforms

  • iOS 6.x
  • Android 4.x (Chrome and stock browser)
  • Blackberry 10
  • Windows Phone 8
  • Chrome Desktop
  • IE10 Desktop

Limitations

  • The size of the panel can't be set in HTML. It is 15em by default. To change this value, change @PANEL_WIDTH in SidePane.less and regenerate the stylesheet.

  • Blackberry and Chrome Mobile on Android have built-in left/right swipe gesture. On these platforms, swipe opening is not really usable.

Known bugs

  • Swipe opening from the right works only on iOS and desktop browsers.

Credits

  • Damien Mandrioli (IBM CCLA)

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.