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

Radio group on new page component

$
0
0

@Svirskyi wrote:

I'm new to ionic and angular and I want to create a custom element directive, like:

<radio-group
    value="'a'"
    values="{{['a', 'b', 'c']}}"
    on-value-change="onChange()"
    radio-group-name="'Values'"
></radio-group>

function onChange(newValue){}

so it's pretty similar to this example, but I need it to generate link

<a href="#/radio-group-page">Values</a>

by clicking it we are going on a new page with values list (a, b, c) and 'Values' title. When we select new item, on-value-change event fires.

Is it possible? I don't know how to bind this functionality between pages.

I dont want to create new template and controller for each radio-group.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49430

Trending Articles



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