view.xml
<content>
<Breadcrumbs currentLocationText="current page">
<Link press="onPress" text="Rigved"/>
<Link press="onPress" text="Mahindra"/>
<Link press="onPress" text="Tushar"/>
</Breadcrumbs>
</content>
Controller.js
onPress: function (oEvent) {
sap.m.MessageToast.show(oEvent.getSource().getText() + " has been activated");
}
Output
<content>
<Breadcrumbs currentLocationText="current page">
<Link press="onPress" text="Rigved"/>
<Link press="onPress" text="Mahindra"/>
<Link press="onPress" text="Tushar"/>
</Breadcrumbs>
</content>
Controller.js
onPress: function (oEvent) {
sap.m.MessageToast.show(oEvent.getSource().getText() + " has been activated");
}
Output
Good tutorial to learn Thank You Very Much Guru...
ReplyDeleteThis Changed My Life