Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
when making a extension, on js file, we put
define(["qllik", "~~~.html",...]),
function(qlik, templates, $){
}
something like this.
I wonder what does that dollor sign means..
Is there anybody could answer this question??
well in your example ... means $.
When you define your module you can import dependencies and then those dependencies are aliased in the function call. So
define(['mycoolmodulealiasedto$', otherdepaliasedtoQ], function($,Q) {})
Now normally though people would reference a jquery dependency as $ since that is fairly common in the web developer world.
well in your example ... means $.
When you define your module you can import dependencies and then those dependencies are aliased in the function call. So
define(['mycoolmodulealiasedto$', otherdepaliasedtoQ], function($,Q) {})
Now normally though people would reference a jquery dependency as $ since that is fairly common in the web developer world.
thank you!!