Passing props to Component with $navigateTo()


#1

Hi,

I am trying to show a Component with navigateTo and pass some props to the Component.

this.$navigateTo(MyComponent)

works and opens the component, but how can I pass props?

Thanks!


#2

found a solution:

this.$navigateTo(MyComponent, {context: {propsData: {"my_prop":  true}}})