var Card = YClass.extend({
className:'Card',
config:{
id:'cardid',
container:'body',
render:false,
template: 'tmpl_card',
debug:false
},
setposition:function() {
var i=1;
var xpos=10;
var ypos=15;
var recvflag=false;
}
);
how can I call the positioning function that I am trying to use Card.setposition ();
but it gives me an error that setposition is not defined why ??
source
share