I am working on implementing a feature where the value of a select element determines how another element transitions.
In my scenario, I have two tags with data in them:
<select data-name="name goes here" updateElement()></select>
<select value="what ever option is picked" applyTransition()></select>
Whenever the option of the data-name select element is changed, it will update a variable associated with the element that should transition.
The main objective is to have the second select element trigger a transition effect on a specific element based on the choice made in the first select element.
I opted not to include the actual code as it is quite extensive, but I can provide what is necessary upon request.