I am using Angular2 with Nodejs. I have a list of employees each contains employee name, address, rank etc. I want to show information when user hovers mouse on the employee name. For that I am trying using semantic-ui with angular2 but I can't find any example other than (below link) which isn't descriptive.
https://github.com/vladotesanovic/ngSemantic
Nodejs:
npm install ng-semantic --save
npm install jquery --save
Index.html
<link type="text/css" rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.2/semantic.min.css">
TestSemantic.ts
import {NgSemanticModule} from 'ng-semantic';
TestSemantic.html
<sm-button class="icon" sm-popup="Add users to your feed"><i class="add icon"></i></sm-button>
First it shows me 2 semantic errors which are:
node_modules/ng-semantic/ng-semantic/input/input.d.ts(2,29), error TS2307: Cannot find module '@angular/forms'.
node_modules/ng-semantic/ng-semantic/search/search.d.ts(2,29): error TS2307: Cannot find module '@angular/forms'.
Only button is showing on TestSemantic.html but there is no pop-up displays