How do I disable back Layer when I bring any layer to front by bringToFront(). For eg. I want to disable the view when I bring alert to front.
Hey Poojan Jhaveri,
I don't know if I fully understand what you'd like to achieve. Would you like to fade out the view behind the alert? Here's a little example → http://share.framerjs.com/fftz055k8fvz/
Thanks Krijn Rijshouwer but No I'd like to disable the interaction on the view behind the alert. Any suggestions ?
Ah, you can use event propagation for this. You can read about it here → http://www.w3schools.com/jquery/event_stoppropagation.asp .
Simply get the event parameter from the click, tap or swipe etc. and set event.stopPropagation() so it won't run any other events.