V5 Suggestion - MVC feature

It would be really nice to have a seperation between the ejs file where JavaScript code is kept in an associated file, for example:

index.ejs
index.cjs

Rather than long stream of code in the dmx-on:click for example, it could just contain a function of Typescript class method call in index.cjx (controller). That way the html code is clean to read and you could have a way to ctr/opt click on a method to jump to the function/method.

This way as developers we can cleanly add additional function/methods to this file to add custom actions.

Just a thought.

Community Page
Last updated: