angular - Using Jquery in Angular2 components -


in node js application , have installed jquery node module. in order use jquery in angular2 components have include below statement in components.

const $ = global.jquery = require('jquery'); 

i using webpack module loading.

my question is correct way of implemention

or

should follow other approach ?


Comments

Popular posts from this blog

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -