angularjs - How to use materialize-cssc with ts in angular4 -


i'm new npm stuff, i'm working on angular project using typescript. question how use materialize-css package http://materializecss.com/? installed locally npm install materialize-css don't know how proceed. tried use simple <select> tag , initialized $('select').material_select() keep on getting error error ts2339: property 'material_select' not exist on type 'jquery'. installed jquery using npm. please help. regards.

add materialize (js,css, jquery) in index.html file , in appcomponent file add this:

declare let $ : any;  @component({   //... }) export class appcomponent{   //... }; 

Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -