Giter Site home page Giter Site logo

ionic-ion-drawer's Introduction

ionic-contrib-drawer

A side menu drawer for Ionic apps

ionic-ion-drawer's People

Contributors

andrewmcgivery avatar mlynch 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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

ionic-ion-drawer's Issues

Nav button click to show drawer not working

openDrawer() and closeDrawer() both function does not work. Dragging to open and close drawer works but clicking on item does not close drawer. I am using ionic 1.2.4. has anyone the solution. Documentation has used ion-pane in side menu but i am using ion-side-menu-content. Can anyone give code in details.

open/close not working

By default when I load up the project the menu is open, so I click on the close button but nothing happens. I've tried changing a bunch of stuff around but to no avail. There doesn't appear to be a closeDrawer() function in the javascript; what should ng-click be calling?

Is this project dead?

Hi,
Just came across this repo. haven't been able to get it to work, no README, instructions or something.
And there's 9 open PRs, any ideas on when these will be merged?

Thanks.

How to control ionic ion drawer --> hide & show in different pages

how to make ionic.drawer show in one page and hide another page.(control drawer with my controller )

My requirement : Sign in page should not drawer and but other pages should contain it

side menu drawer is starting with app using state provider (abstract: true)

I've tried this (but it is not working )
drawer side="left" canDrag="true"
drawer side="left" canDrag="false"

slide to open/close option

Hi,

I tested Ionic Drawer and it works like a charm. I noticed that it doesn't have slide/pull to open and close option. Is there some way to add this feature?

Thanks in advance!!

issue on closing the panel if side=='LEFT'

inside the doDrag function there is a control like this:

          if (side == RIGHT) 
            { newX = Math.max(0, width - (clientWidth - (lastX - offsetX))); }

the control if side=='LEFT' is missing...
I've not tested my new code with side=='RIGHT', but I suggest something like this:

          if ( self.opened )  
            { // I'm closing
              if (side == RIGHT) 
                { newX = Math.max(0, width - (clientWidth - (lastX - offsetX))); }
              else
                { newX = Math.min(0, width - (clientWidth - (lastX - offsetX))); }   
            }
          else
            { // I'm opening
              if (side == RIGHT) 
                { newX = Math.max(0, width - (clientWidth - (lastX - offsetX))); }
            }   

Drawer does not open after the state is reloaded

Hi,
I am using ionic-ion-drawer for my app. The problem i am facing is when i reload my controller, the drawer does not open. It works fine if i kill the app and reopen it.

The code i am using to reload the controller is :
$state.go($state.current.name,null,{reload:true});

Can anyone please help me out with this?

Thanks..

Drawer close when item or ng-repeat="item in items" link is clicked

Hey there,
right now I am running a layout which removes the standard menu icon once the drawer is open. Instead of clicking outside of the menu to close it is there a way to set it so that the drawer automatically closes once a side-menu item is clicked. I have tried both "menu-close" and "menu-and-drawer-close" and nothing works. The pages open no problem, but the drawer is still open as well.

Any fix would be super helpful.

canDragContent() not working

canDragContent() not working.

not working
$stateProvider
.state('app', {
url: '/app',
abstract: true,
templateUrl: 'templates/sidemenu.html',
controller: 'AppCtrl'
})

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.