- Amsterdam
- http://simon-bernard.fr
Pinned Loading
-
Example of decorator implementation ...
Example of decorator implementation in TypeScript. Used for Medium article : https://goo.gl/oNkH1s 1import { Injectable } from '@angular/core';
2import { ApiService } from './api.service.ts';
34// Will automaticaly link RandomService.apiService to the instance of imported ApiService5@Injectable()
-
component-extending-CdkAccordionItem...
component-extending-CdkAccordionItem-animated.html 1<div>
2<button (click)="toggle()">Toggle</button>
34<div [class.expanded]="expandedChange | async" [@bodyExpansion]="getExpandedState()">
5Hidden content
-
Example of Guard definition in Angul...
Example of Guard definition in Angular Router. Used for Medium article : https://goo.gl/sdTbtw 1import { Injectable } from '@angular/core';
2import { CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, Router } from '@angular/router';
3import { Observable } from 'rxjs';
45import { AuthService } from './auth.service';
-
Example of decorator implementation ...
Example of decorator implementation in TypeScript. Used for Medium article : https://goo.gl/oNkH1s 1import { Cache } from 'RandomCacheLibrary';
23// Define a function with one parameter: the key under which the data will be cached4export function CacheReturnValue(key: string) {
5// Return our high-order function
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.
