good morning, how do I pass a parameter file ux to a js file, this parameter I need to pass this way is because I’m going to send my api Rest so you can get me just the data I need.
> Jimmy Rodriguez wrote:
good morning, how do I pass a parameter file ux to a js file, this parameter I need to pass this way is because I’m going to send my api Rest so you can get me just the data I need.
in the first image ux file has a classe called “items” and is a component that loads the data within the data shown I need to take a value and send it to a js file and make a fetch to retrieve data only that value is an id.
example:
I retrieve the data that are surveys, and the id of that table is the need to send to retrieve the survey questions.

ONLY I NEED TO KNOW, HOW TO PASS A PARAMETER BETWEEN UX FILE TO JS FILE,.
This is documented here.