0.1.1 • Published 5 years ago

ngx-octicons v0.1.1

Weekly downloads
68
License
-
Repository
github
Last release
5 years ago

ngx-octicons

This is a little library to provide an angularistic interface (a directive) in apps. The repository contains of an angular workspace which contains two applications:

  1. ngx-octicons, the library
  2. demo, the development app

usage

to install, simply

npm install --save ngx-octicons

Afterwards just import the Module into your Application

import { OcticonsModule } from 'ngx-octicons';


@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    OcticonsModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

This library was generated with Angular CLI version 8.2.11.

and finally in your template you can do:

<span octicon="heart"></span>

<span octicon="gear" color="#552232" size="48"></span>

<span octicon="shield-lock" color="4985FF" size="96"></span>

<i octicon="heart" color="red"></i>

you can define the icon, the color and its size!

0.1.1

5 years ago

0.1.0

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago