Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to use jquery plugins in angular 8

npm install jquery --save
npm install -D @types/jquery

//--------------------------
import * as $ from 'jquery';
$('#elemId').width();

//OR

import $ = require('jquery')
$('#elemId').width();
 
PREVIOUS NEXT
Tagged: #jquery #plugins #angular
ADD COMMENT
Topic
Name
2+4 =