There's a good chance that you want to wrap the toggle element in some other element so that one of them can have space for an independent binding to a controller and an action. Otherwise you have to push a user provided action and controller into the data attribute of the toggle.
There's a good chance that you want to wrap the toggle element in some other element so that one of them can have space for an independent binding to a controller and an action. Otherwise you have to push a user provided action and controller into the data attribute of the toggle.