Hi,
From the event i would like to know the source and other parameters.
Code:
fragment
<core:FragmentDefinition
xmlns="sap.m"
xmlns:core="sap.ui.core" >
<Button text = "pass event" press = "handlepress" />
</core:FragmentDefinition>
View:|
<core:View controllerName="DELETE.view.Master" xmlns:core="sap.ui.core" xmlns:l="sap.ui.layout" xmlns:table="sap.ui.table" xmlns="sap.m">
<Page id="productListPage" navButtonPress="onNavBack" showNavButton="true" title="{i18n>masterTitle}">
<content>
<core:Fragment fragmentName="DELETE.view.test" type="XML" />
</content>
</Page>
</core:View>
Controller:
handlepress: function (oEvent) {
console.log(oEvent) ;
},
Thx