Creating new UI5 Control with controller logic
I need to create new UI5 Control that other can use via new command,my question is when I use the extend
where I should put the controller logic?
Assume that I've already control with controller logic which I want to provide out of the box when using the new control via new command....
Example will be very helpful!