AdButtonSlide

website

Button Slide : show simple icon, on hover : show icon + text

Using ad-button-slide in a project

  1. Install the library : npm i ad-button-slide
  2. Import the module :
    import { AdButtonSlideModule } from 'ad-button-slide';
    @NgModule({
    imports: [ ..., AdButtonSlideModule ], ...
    
  3. (optional) import an icon library like fontawesome (npm i @fortawesome/fontawesome-free)
  4. Play with the component :-)

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

Properties

Parameters supported by this object:

Example

Test library

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

License

MIT License

Author

Adrien Dessilly