mcasimir / mobile-angular-ui

Angular.js Mobile UI Framework with Bootstrap 3
http://mobileangularui.com/
MIT License
2.87k stars 709 forks source link

ui-toggle with ui-yield #247

Open lchan-jigsaw24 opened 9 years ago

lchan-jigsaw24 commented 9 years ago

Hi, is there a way to turn off ui-toggle parent when using the ui-yield-to so when yielding to another child element the parent ui-toggle can be switched off? Cheers Lisa

RemcovandenBerg commented 9 years ago

Lisa, can you please give a small example of what you are trying to achieve here?

Am I right you are using ui-content-for on an element with a ui-toggle="XX" directive, but do not expect it to work after yielding to another place?

lchan-jigsaw24 commented 9 years ago

Hi,

Sorry for the late reply – I was on leave but am back now! Yes, what I’m trying to do is have the ui-toggle to open a sidebar menu as default, but for some pages I’d like to yield to a back button so they can go to the previous page. Unfortunately, I can’t seem to achieve this as the toggle sidebar overrides everything.

Thanks for your help!

Kind regards Lisa Chan

From: Remco [mailto:notifications@github.com] Sent: 21 April 2015 19:26 To: mcasimir/mobile-angular-ui Cc: Lisa Chan Subject: Re: [mobile-angular-ui] ui-toggle with ui-yield (#247)

Lisa, can you please give a small example of what you are trying to achieve here?

Am I right you are using ui-content-for on an element with a ui-toggle="XX" directive, but do not expect it to work after yielding to another place?

— Reply to this email directly or view it on GitHubhttps://github.com/mcasimir/mobile-angular-ui/issues/247#issuecomment-94895899.