Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Clickable toggle label

$
0
0

@ZephDavies wrote:

Hi

I'm trying to make a toggle item have additional information when clicked.

For example, you can click the toggle as normal, but if you click the label, it shows additional information, in the form of a modal.

Below is as close as I can get, BUT the label or icon cannot be clicked. The toggle still works fine.

<ion-toggle class="item-icon-left"
            ng-model="objectModel"
            ng-change="updateObject(objectModel)">
    <i class="icon ion-information-circled"></i>
    <b>Object Text Here</b>
</ion-toggle>

Where would one put the:

ng-click="showInfo('modal.html', $event)"

Any help is appreciated!

CodePen: http://codepen.io/anon/pen/ZbBzxM

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



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