Ok... ummm crude and rude approach? I basically count the clicks in and out 
with numberEnabled variable??
http://fiddle.jshell.net/WjW76/1/


On Friday, 28 March 2014 13:25:37 UTC, Aidan Mack wrote:
>
> Hi,
> Im still learning Angular.
> Basically I have a group of buttons and when any of them are clicked they 
> change the css height of a div. (these buttons are now set to enabled)
>
> click them again to disable, but I only want the div's css height to be 
> set to 0 *IF* all the buttons have been set to disable... hope that makes 
> sense...
>
> Heres a js fiddle... that doesn't work. works locally, just not on fiddle, 
> but you should get the gist of what i want to do.
> http://fiddle.jshell.net/MCLk3/1/
>
>
> Thanks
> Aidan
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to