on 06-20-2019 3:10 PM
Hi all,
could anybody please explain the notation bracket followed by curly bracket.
When do we have to use it?
Example - in second line : new sap.m.Image({
sap.ui.getCore().attachInit(function () {
var oImage = new sap.m.Image({
src: "img/UI5_logo.png",
decorative: false,
alt: "SAPUI5 Logo"
}).placeAt("content");
Thanks, regards
Mario
Hi all,
is this a so called "object literal"
See https://www.dyn-web.com/tutorials/object-literal/
Thanks, regards
Mario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
9 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.