var Card = YClass.extend({
// define Class Name
className:'Card',
// class level default options
config:{
id:'cardid',
container:'body', // id of container in which to render the user
render:false,
template: 'tmpl_card', // id of template used to render user
debug:false
},
setposition:function() {
var i=1;
var xpos=10;
var ypos=15;
var recvflag=false;
}
);
how i can call set position function i am trying by Card.setposition();
but its giving me error that setposition is not defined why??