0.1.7 • Published 7 years ago

ngx-semantic-ui v0.1.7

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

Semantic UI extension into Angular 2

This project is meant to remove JQuery from Semantic-UI's modules and build it in Angular 2. The first portion of this project is meant to take the existing structures of Semantic-UI where you could copy and paste their examples into your code and the set of directives/components in this module will pick them up and create interactivity with them.

Warning

This project is still in heavy development. So there will be features that have not been implemented.

Installation

npm install --save ngx-semantic-ui

cd {SEMANTIC FOLDER}
gulp build

Use

After installation you will need to import the module into your angular project.

// app.component.ts
import { Component, ViewContainerRef } from '@angular/core';

@Component({
    selector: 'app-root',
    template:
`<select class="ui dropdown" [(ngModel)]='selectValue' allowReselection="true">
    <option value="">{{title}}</option>
    <option value="1">Male</option>
    <option value="0">Female</option>
</select>`
})
export class AppComponent {
    title = 'Placeholder Text';
}

// app.module.ts
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { FormsModule } from "@angular/forms";
import { HttpModule } from "@angular/http";
import { NgxSemanticUiModule } from "ngx-semantic-ui";
import { AppComponent } from "./app.component";

@NgModule({
    imports: [
        BrowserModule,
        FormsModule,
        HttpModule,
        NgxSemanticUiModule
    ],
    declarations: [
        AppComponent,
    ]
})
export class AppModule { }

Modules

  • Accordion
  • Checkbox
  • Dimmer
  • Dropdown
  • Embed (To be developed)
  • Modal
  • Nag (To be developed)
  • Popup (In development)
  • Progress
  • Rating
  • Search
  • Shape
  • Sidebar (In development)
  • Sticky
  • Tab
  • Transition

Components

Once modules are finished, components will be developed to build out common use cases for each of the modules for quick development.

Services

Once modules are finished, custom services will be developed to deal with opening dynamic modals in code and displaying messages from code much like toastr messages.

Licence

MIT License

0.1.7

7 years ago

0.1.6

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago