Sencha Architect 2 problem with config onItemDisclosure
I have a problem with Ext.dataview.List. His config. onItemDisclosure in sencha architect 2 has only one boolean parameter.
In the guide has it:
onItemDisclosure : Boolean/Function/Object3True to display a disclosure icon on each list item. The list will still fire the disclose event, and the event can be stopped before itemtap. By setting this config to a function, the function passed will be called when the disclosure is tapped. Finally you can specify an object with a 'scope' and 'handler' property defined. This will also be bound to the tap event listener and is useful when you want to change the scope of the handler.
How correctly give the method a function, not the bool variable?
It is only for sancha architect 2.