ozexpert / ng2-semantic-ui

Semantic UI Angular 2 Integrations -- no JQuery required --

Home Page:http://edcarroll.github.io/ng2-semantic-ui/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ng2-semantic-ui

Semantic UI Angular 2 Integrations, written in pure AngularJS - no JQuery required.

Demo & Usage

ng2-semantic-ui

Installation

To install this library, run:

$ npm install ng2-semantic-ui --save

Next include the Semantic UI CSS file in your index.html (you can include a manually compiled one if you use themes):

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.4/semantic.min.css">

Once installed you need to import the main module:

import {SuiModule} from 'ng2-semantic-ui/ng2-semantic-ui';

Finally import the main module into your application module:

import {SuiModule} from 'ng2-semantic-ui/ng2-semantic-ui';

@NgModule({
    declarations: [AppComponent, ...],
    imports: [SuiModule, ...],  
    bootstrap: [AppComponent]
})
export class AppModule {}

N.B. you can import individual component modules:

import {SuiCheckboxModule, SuiRatingModule} from 'ng2-semantic-ui/ng2-semantic-ui';

Now you're good to go!

Dependencies

Components

The current list of available components with links to their docs is below:

Development

To generate all library *.js, *.js.map and *.d.ts files:

$ npm run compile
# use compile:w to watch for changes

To run the demo app (you must have Angular-CLI installed):

$ ng serve

License

MIT © Edward Carroll

About

Semantic UI Angular 2 Integrations -- no JQuery required --

http://edcarroll.github.io/ng2-semantic-ui/

License:MIT License


Languages

Language:TypeScript 100.0%