Accessing variables in Module Function
Summary
Accessing variables in Module FunctionContent
Hi,
How do we access page scope or application scope variables in JavaScript module function other than passing as parameter.
tried something like below but getting error.
PageModule.prototype.myfunction= function(){
var myVar= $page.myVar
};
Tagged:
0