Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
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
Alexander_Thor
Employee
Employee

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.

View solution in original post

2 Replies
Alexander_Thor
Employee
Employee

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
Author

thank you!!