Comments (3)
Thank you. i have downloaded the stylesheets. Looks like still the styling is not applied properly. I am using the select component. Please refer the attached images
In systemjs.config.js,
map: {
'ng-semantic': 'node_modules/ng-semantic',
}
packages: {
'ng-semantic': {
main: 'ng-semantic.js',
defaultExtension: 'js'
}
}
and the import i used
import { NgSemanticModule } from "ng-semantic";
My HTML,
<sm-select placeholder="Select ACO" class="fluid" (onChange)="selected($event)"> <option *ngFor="let item of items" [value]="item.id"><span [innerHTML]="item.text"></span></option> </sm-select>
from ngsemantic.
Semantic CSS are not provided by ngSemantic. You need to install semantic it self. It is possible with bower:
bower install semantic
from ngsemantic.
My Apologies. I missed this import
<script src="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.2/semantic.min.js"></script>
This solved the issue.
from ngsemantic.
Related Issues (20)
- angular-cli, lots of "Module not found: Error: Can't resolve" on initial integration HOT 1
- Popup should use event.currentTarget HOT 2
- Show sidebar by default HOT 1
- latest angular-cli breaks build HOT 3
- ng-semantic HOT 2
- sm-select not working for formArray HOT 1
- sm-select onOpen/onShow event HOT 1
- sm-select model binding doesn't work HOT 1
- ERROR in NgSemanticModule is not an NgModule HOT 1
- ng-content Transclusion doesn't work with element selector HOT 1
- How to prevent <sm-dropdown>from actually selecting an option HOT 1
- Dropwdown style not cleaned when reset sm-select
- sm-tab is not working on ie11 HOT 1
- sm-tab active input does not change tab contents
- Is this project still alive? HOT 5
- How can i delete a certain item on sm-select multiple item
- Is compatible with angular 4 HOT 1
- sm select: select all cities by default
- Error when use ngSemantic with Angular6 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngsemantic.