mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
feat($ionicSideMenuDelegate): add isOpen() method
Closes #1074. Closes #1075.
This commit is contained in:
committed by
Andy Joslin
parent
dfbb376552
commit
518e54ee86
@@ -117,7 +117,7 @@
|
||||
},
|
||||
|
||||
isOpen: function() {
|
||||
return this.getOpenRatio() == 1;
|
||||
return this.getOpenAmount() !== 0;
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user