0.32.0 • Published 5 years ago

angular-gillicons v0.32.0

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

angular-gillicons

An Angular library that permits to use all the icons from the gillicons package thanks to a uniq component.

Icons

See gillicons.gillianperard.com.

Installation

npm install gillicons angular-gillicons --save
# or
yarn add gillicons angular-gillicons

How to use it

To use the gillicon component, you need to add the gillicon module to your own module.

import { GilliconModule } from 'angular-gillicons';

@NgModule({
    declarations: [
        ...
    ],
    imports: [
        ...,
        GilliconModule // import the gillicon module
    ],
    bootstrap: [
        ...
    ]
})
export class YourModule { }

Then you need to import the icons you want (from the gillicons package) into the desired component.

Directly:

import { giPlus } from 'gillicons/giPlus';

Or using destructuring:

import { giPlus } from 'gillicons';

Assign the imported icon to a property which could be used in you html file.

public giPlus = giPlus;

Finally use it within the gillicon component:

<gillicon [icon]="giPlus"></gillicon>

License

This library is released under the terms of the MIT License.

0.32.0

5 years ago

0.31.0

5 years ago

0.30.2

5 years ago

0.30.1

5 years ago

0.30.0

5 years ago

0.29.0

5 years ago

0.28.1

5 years ago

0.27.0

5 years ago

0.26.0

5 years ago

0.25.0

5 years ago

0.24.0

5 years ago

0.23.0

5 years ago

0.22.1

5 years ago

0.22.0

5 years ago

0.21.0

5 years ago

0.20.0

5 years ago

0.19.0

5 years ago

0.18.0

5 years ago

0.17.0

5 years ago

0.16.1

5 years ago

0.16.0

5 years ago

0.15.0

5 years ago

0.14.1

5 years ago

0.14.0

5 years ago

0.13.0

5 years ago

0.12.4

5 years ago

0.12.2

5 years ago

0.11.2

5 years ago

0.11.1

5 years ago

0.11.0

5 years ago

0.10.0

5 years ago

0.6.0

5 years ago

0.2.0

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago