sap.ui.define(["sap/ovp/cards/generic/Component"], function (Component) {
"use strict";
/* component for custom card */
return Component.extend("blog.FlightOVP.ext.cards.Component", {
// use inline declaration instead of component.json to save 1 round trip
metadata: {
properties: {
"contentFragment": {
"type": "string",
"defaultValue": "blog.FlightOVP.ext.cards.List"
},
"countHeaderFragment": {
"type": "string",
"defaultValue": "sap.ovp.cards.generic.CountHeader"
},
"footerFragment": {
"type": "string",
"defaultValue": ""
}
},
version: "@version@",
library: "sap.ovp",
includes: [],
dependencies: {
libs: ["sap.m"],
components: []
},
config: {},
customizing: {
"sap.ui.controllerExtensions": {
"sap.ovp.cards.generic.Card": {
controllerName: "blog.FlightOVP.ext.cards.List"
}
}
}
}
});
});
(function () {
"use strict";
/*global sap, jQuery */
/*
Here you can put Controller code
*/
sap.ui.controller("blog.FlightOVP.ext.cards.List", {
onInit: function () {
},
onAfterRendering: function () {
},
});
})();
<core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core" xmlns:ovp="sap.ovp.ui"
xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1">
<!-- Here you can put your Card's Content Area -->
<Carousel class="sapUiContentPadding" loop="true">
<pages>
<VBox class="sapUiSmallMargin">
<Title text="Definitions" titleStyle="H5"/>
<Text text="\nTop N flights are based on payments dollar value.
\nAll dollar values are displayed in canadian currency"/>
</VBox>
<VBox class="sapUiSmallMargin">
<Title text="Dimesions" titleStyle="H5"/>
<Text text="\nContinent - based on airline headquarter country"/>
</VBox>
<VBox class="sapUiSmallMargin">
<Title text="Measures" titleStyle="H5"/>
<Text text="\n\nFlight Occupancy is a ratio of occupied seats to total available seats"/>
</VBox>
</pages>
</Carousel>
</core:FragmentDefinition>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
53 | |
5 | |
4 | |
4 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 |