Link
THIS ARTICLE IS READY FOR REVIEW!!!
Link widget creates a link with href attribute set to an empty function. Link widget is very useful, when you want to have a link and on click of that link needs to make an asynchronous requests.
The simple way to add Link widget to your application is as follows
File /widgets/link/Snippet.tpl
id:"myLink",
label : "link label",
margins : "30 x x 30"
The whole list of configuration parameters is available in LinkCfg bean.
Action
Link widget is an extension of ActionWidget meaning that a callback function can be triggered on the user action, for instance when the user clicks on the link, onClick callback function will be invoked.
File /widgets/link/Snippet.tpl
id:"myLink",
label : "link label",
margins : "30 x x 30",
onclick : linkClicked
Binding
The only property that is bind-able for Link widget is
- tooltip
For more information please read the article on Widget Bindings.
