I have a logic for a controller called "home". I split it up many functions. Those functions are just for a specific purpose related to some logic.
A user will click on a button, then an action will be executed in the controller, then all logic is done with the help multiple functions. Right now, I made those functions as a controller properties.
Are there any best practices to do this in Ember.js?
Aucun commentaire:
Enregistrer un commentaire