Qlik Community

Qlik Sense Integration, Extensions, & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

Not applicable

what does $(dollor sign) parameter means?

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??

1 Solution

Accepted Solutions
Employee
Employee

Re: what does $(dollor sign) parameter means?

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.

2 Replies
Employee
Employee

Re: what does $(dollor sign) parameter means?

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.

Not applicable

Re: what does $(dollor sign) parameter means?

thank you!!