Last active
May 22, 2017 13:35
-
-
Save StErMi/f0da746e7b353587dec325286a4beb15 to your computer and use it in GitHub Desktop.
it.designfuture.qrcode.QRCode example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sap.ui.define([ | |
"sap/ui/core/Control" | |
], function (Control) { | |
"use strict"; | |
return Control.extend("it.designfuture.qrcode.QRCode", { | |
metadata : { | |
properties : {}, | |
aggregations : {}, | |
events : {} | |
}, | |
// Function called when your control should be rendered. Here you will write your HTML | |
renderer : function (oRM, oControl) {} | |
// It is called by the framework while the constructor of an element is executed. | |
// Custom Controls should override this hook to implement any necessary initialization. | |
init : function () {}, | |
// This function is called before the rendering of the control is started. | |
// Custom Controls should override this hook to implement any necessary actions before the rendering. | |
onBeforeRendering : function() {}, | |
// This function is called when the rendering of the control is completed. | |
// Custom Controls should override this hook to implement any necessary actions after the rendering. | |
onAfterRendering : function() {}, | |
// It is called by the framework while the constructor of an element is executed. | |
// Custom Controls should override this hook to implement any necessary cleanup. | |
exit : function () {} | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment