Dropdown / select in Angular4

I am working on an AngularFire2 project using Angular 4.2.4 and Angular CLI 1.1.3 and new to TypeScript. In several components I need to use searchable dropdowns / tags as seen here and.

I can't get any of the .js files to run when I reference them in my index.html file like this:

<script src="assets/semantic-ui-dropdown/dropdown.js"></script>

      

From what I could find it either has to do with the typescript definitions or something is wrong with the way I have included JQuery (only the script tag in index.html). After doing many other threads, I have absolutely no idea how to do this. Do I need to import something into the component? My goal is to use the classes in the html document as Angular 4+ versions of them are not available yet (as far as I know).

+3
angular typescript angularfire2 semantic-ui selectize.js


source to share


No one has answered this question yet

Check out similar questions:

32
Angular 2 execute script after template creation
20
angular 2 - adding third party libraries
7
Semantic User Interface: Multi Select Highlight Preselected Values
2
How to include js file of service-worker from src / directory in index.html Angular 2
2
Attempting to inject an entity in an Angular 4 app
1
How to Create Attributes from Embedded Plugins in Angular 6
0
Load image in angular-cli app with rel = "preload"
0
Angular 6 Webpack config @ ngtools / webpack
0
How to add external js file to my angular2 project
0
Unknown launch of the compiler file ./ node_modules / .bin / ng-xi18n



All Articles
Loading...
X
Show
Funny
Dev
Pics