0.0.11 • Published 3 years ago

@febld/button v0.0.11

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

FEBLD Button

This library was generated with Angular CLI version 9.1.12.

Installation

npm install @febld/button

Configuration

In your app.module.ts file, declare the module :

import { ButtonModule } from '@febld/button';

and declare it in your imports :

imports: [
    ...,
    ButtonModule,
    ...
]

In your application angular.json file, declare the assets :

"assets": [
    ... ,
    {
       "glob": "**/*",
       "input": "node_modules/@febld/button/assets/feb-icons",
       "output": "assets/feb-icons"
    },
    {
       "glob": "**/*",
       "input": "node_modules/@febld/button/assets/styles",
       "output": "assets/styles"
    }
],

Usage

In your app.component.ts requiring the button component, import it :

import { ButtonComponent } from '@febld/button';

In your HTML template, you can insert a button :

<feb-button (click)="YOUR_ACTION()"
     image="disk-write"
     title="Your action Description" >
</feb-button>

Available images

  • plus
  • minus
  • disk-write
  • disk-read
  • home
  • dustbin
  • ...
0.0.11

3 years ago