Skip to the content.

AD Library

website

Simple angular library :

Using ad-library in a project

  1. Install the library : npm i ad-library
  2. Import the module :
    import { AdLibraryModule } from 'ad-library';
    @NgModule({
    imports: [ ..., AdLibraryModule ], ...
    
  3. (if you want to use TabsComponent) Import the module :
    import { AdTabsModule } from 'ad-library';
    @NgModule({
    imports: [ ..., AdTabsModule ], ...
    
  4. (optional) import an icon library like fontawesome (npm i @fortawesome/fontawesome-free)
  5. Play with the component :-)

<ad-button-slide icon="fas fa-trash" label="Delete this" background="red"></ad-button-slide>

Properties

Button Slide

Parameters supported by this object:

Button Switch

Parameters supported by this object:

Example

Tabs

Test library

clone this project and run ‘npm i && npm start’

License

MIT License

Author

Adrien Dessilly