use jquery in angular

علی ذوالفقار
1400/06/03 09:07:08 (641)
// install jquery 
npm install --save jquery

// install jQuery Definition
npm install -D @types/jquery

// import and use in .ts files 
import * as $ from 'jquery';

$('#elemId').width();

Back