Skip to Content
0
May 13, 2018 at 02:25 AM

why use a model to interact with controls?

89 Views

hello,

i was having a chat with some one learning UI5 and they asked we should use a model to interact with a control rather than doing it directly.

after much thinking all i could come up with was 'just because' - which is not a very good answer.

so, why use a model instead of directly addressing a control (by its id)?

cheers

pas.