Custom Component with two way binding

I am new to Ionic2 and trying to build a component, i have managed to create the component as follow:

            <ion-col col-6>
                    <ion-input></ion-input>
            </ion-col>

            <ion-col col-3>
                    <button ion-button color="light" (click)="rightClick()">
                            <ion-icon name='arrow-forward'></ion-icon>
                    </button>
            </ion-col>
    </ion-row>

Now i need to bind its input with the parent / page property. I need help on this how can i achieve this.

Have you seen the recipes in here?

1 Like

can you please explain in more simplified way as i have created the component and now i need its selected value bound to the page attribute.