Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49362

Change the toggled state of an item based on another toggled event?

$
0
0

@ChrisdeNysschen wrote:

I have a set of “permissions” for DJ’s on a radio broadcasting channel, some have conditions for example:

History Report - (currently toggled as false)
Listener Statistics - (currently toggled as true)

image

If I change History Report to true, I am already disabling Listener Statistics, but I need to change the state to false and back to true if History is false again.

image

My code is generated by Angular on the Front End side dynamically.
Done with Ionic / Typescript / Javascript / jQuery.

If that makes any sense…

Please any ideas? I have tried targeting child nodes and attribute nodes etc. but it gets nasty after a while.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49362

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>