Skip to content

Instantly share code, notes, and snippets.

View countdown.html
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv='Content-Type' content='text/html;charset=UTF-8'/>
<script src="/sapui5/resources/sap-ui-core.js"
id="sap-ui-bootstrap"
data-sap-ui-libs="sap.ui.commons, sap.ui.table"
data-sap-ui-theme="sap_bluecrystal">
View coundown.view.js
sap.ui.jsview("sapui5test.countdown", {
getControllerName : function() {
return "sapui5test.countdown";
},
createContent : function(oController) {
//Timer for count down
var timer;