Skip to content

Instantly share code, notes, and snippets.

@Abhinay-g
Last active May 14, 2020 12:43
Show Gist options
  • Select an option

  • Save Abhinay-g/46c208defd1808efc6d5ef937af25ccc to your computer and use it in GitHub Desktop.

Select an option

Save Abhinay-g/46c208defd1808efc6d5ef937af25ccc to your computer and use it in GitHub Desktop.
Angular Amazing Article
[Directive]
https://medium.com/swlh/anatomy-of-angular-attribute-directive-selector-a1d83a73242
[Virtual Table]
https://github.com/diprokon/ng-table-virtual-scroll/blob/master/projects/ng-table-virtual-scroll/src/lib/fixed-size-table-virtual-scroll-strategy.ts
https://stackblitz.com/edit/nahgrin-virtual-scroll-table?file=src%2Fapp%2Ftable%2Ftable.component.ts
[Custom Form Control]
In order to register a Angular component as a Form Control we need to implement ControlValueAccessor and we tell angular that current
component is Custom form control by adding to NG_VALUE_ACCESSOR provider token
https://alligator.io/angular/custom-form-control/
[Use custom element [Web component] in Angular ]
https://alligator.io/angular/using-custom-elements/
[download file ]
https://nils-mehlhorn.de/posts/angular-file-download-progress
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment