on 01-17-2017 12:43 PM
This is my code for pressing image,but getting error "Uncaught TypeError: sap.m.LightBoxItem is not a constructor". Iam using sap.ui.require("sap.m.LightBoxItem") a but still also not getting the output
click:function(evt){
var e=evt.getSource().getProperty("src");
var light=new sap.m.LightBox({ imageContent:new sap.m.LightBoxItem({ imageSrc:e, title:"image",
alt:"image1" })
});
i am using 1.4.0 version version sap version but light box control since 1.42 version ,to resolve this library to use latest version
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.