mercredi 8 avril 2015

MVVC : How can I use viewcontroller function with parameter in view class

I want to call viewcontroller's function with parameter at gird view.

But, I can't find the way.



1. this code works good..

items:[{

handler:'onMenuLink()'

}]

2. but, when parameter add, it'not work.

items:[{

handler:'onMenuLink({menuUrl})'

}]

how can I send parameter from view to viewcontroller in MVVC model





MVVC : How can I use viewcontroller function with parameter in view class

Aucun commentaire:

Enregistrer un commentaire