Hey Guys.
I am trying to implement search feature. Looks something like this.
This is my parent component:
Once you click to Advanced it goes to modalController where you can select different filters:
I want to filter my search result by those filter by passing object called data.
So. I have an object in my parent component Search.ts
Facebook property should be either 1 or 0 and so on.
data = {
search: '',
facebook: ''
};
And I want to update facebook property from childComponent once Facebook Allowed is toggled.
I am not sure what is the best way to do it?
Any ideas would be highly appreciated!