From 79a4de6a37d9820751a75b2f2bae441e677244de Mon Sep 17 00:00:00 2001 From: ian lyons Date: Fri, 25 Apr 2014 10:19:39 -0700 Subject: [PATCH] Update menuToggle documentation Hi guys, First, love your framework. I'm developing in it right now and am shocked at how quickly one can scaffold together an application. Second, it seems that the way menu-toggle works right now is that it runs a $scope.$eval() in the content of the menu-toggle attribute, so it's expecting an angular expression. Leaving it just with quote works for the left side-menu, but adding menu-toggle="right" actually toggles the right-hand side menu as well. menu-toggle="'right'" works as expected, as does menu-toggle="'left'". I wasn't sure how much detail to put into the docs about this, but it seems like you don't delve a whole lot into the "why" in your other documentation, just the "how", so I went a little minimalist on my changes. Let me know if you'd prefer that I change something. Thanks again for your work! Ian --- docs/api/directive/menuToggle/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/directive/menuToggle/index.md b/docs/api/directive/menuToggle/index.md index c2964bff050..8e25da89a41 100644 --- a/docs/api/directive/menuToggle/index.md +++ b/docs/api/directive/menuToggle/index.md @@ -44,12 +44,12 @@ Toggle a side menu on the given side

Usage

Below is an example of a link within a nav bar. Tapping this link would -automatically open the given side menu +automatically open the given side menu. Note that the menu-toggle attribute is actually "'left'", with single quotes inside of double-quotes. ```html - + ...