angular-directives-showcase

An example repo to showcase some use cases for directives in Angular

MIT License

Stars
19

A collection of directives that can be used in different scenarios. See how to extract away the extra logics from components to have a more maintainable and reusable code.

Examples Showcased

  1. Delta Value Arrow
  2. Full-screen Toggle
  3. Permission
  4. Highlight Text
  5. Long Press Directive
  6. Badge Directive
  7. Table Sort Directive

Each directive has a dedicated page where the code is also displayed.


Run Locally

1. Download or Clone the repository

git clone https://github.com/adisreyaj/angular-directives-showcase.git

2. Install dependencies

npm install

3. Run application

npm start

4. Open the URL in browser

http://localhost:4200

Support

Don't forget to ⭐ the repository if you like it.