@sap/generator-fiori
Version:
Create an SAPUI5 application using SAP Fiori elements or a freestyle approach
9 lines (8 loc) • 441 B
text/xml
<!-- Use stable and unique IDs!-->
<core:FragmentDefinition xmlns:core='sap.ui.core' xmlns='sap.m'><% if (targetAggregation && controlType && viewName) { %>
<!-- viewName: <%= viewName %> -->
<!-- controlType: <%= controlType %> -->
<!-- targetAggregation: <%= targetAggregation %> --> <% } %>
<!-- add your xml here -->
<Button text="New Button" id="<%- ids.toolbarActionButton %>"></Button>
</core:FragmentDefinition>