I need to access HTML Element but how?

I’m trying to create a custom input system for Editor X because we can’t use inputs like slider, rich text box, address input, ratings and pagination and some others also not available on classic editor like data list.

I want to create a dynamic custom element which will generate a input with fully customizable options. And functionality will be like wix.

Example from Velo: $w(‘#myDropdown’).options = options;
Example from my system: myInput.options = options;

So I have created a test version to test it with dropdown input which is