Hey Sanders, Thanks, I forgot I even posted this! Works good. On Wednesday, May 20, 2015 at 10:58:36 PM UTC-4, Sander Elias wrote: > > Hi brian, > > do it like this: > <div style='border-style: solid; width: 150px' ng-mouseenter='minimized > = false' > > > <div ng-show='minimized'> > Minimized > </div> > <div ng-hide='minimized' > > <select ng-mouseleave='minimized = true'> > <option>bla1</option> > <option>bla2</option> > <option>bla3</option> > </select> > </div> > </div> > > > You have to switch to ng-hide/show to make this work. ngIf creates a new > scope, and your use of scope variables does not work then. > > Regards > Sander >
-- 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.
