I have functions in my homepage that i want to trigger using buttons I created in my modal. I tried to pass the function to the Modal page like so
I then used navParams to get the data within the function for the button in my modal
but it triggers the function as it creates the modal. I don’t want this, I want to trigger the function with the button I made in my modal( the placeemoji() function you see in the second picture).