Skip to content
View Stuff90's full-sized avatar

Block or report Stuff90

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. Example of decorator implementation ... Example of decorator implementation in TypeScript. Used for Medium article : https://goo.gl/oNkH1s
    1
    import { Injectable } from '@angular/core';
    2
    import { ApiService } from './api.service.ts';
    3
    
                  
    4
    // Will automaticaly link RandomService.apiService to the instance of imported ApiService 
    5
    @Injectable()
  2. component-extending-CdkAccordionItem... component-extending-CdkAccordionItem-animated.html
    1
    <div>
    2
      <button (click)="toggle()">Toggle</button>  
    3
      
    4
      <div [class.expanded]="expandedChange | async" [@bodyExpansion]="getExpandedState()">
    5
        Hidden content
  3. Example of Guard definition in Angul... Example of Guard definition in Angular Router. Used for Medium article : https://goo.gl/sdTbtw
    1
    import { Injectable } from '@angular/core';
    2
    import { CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, Router } from '@angular/router';
    3
    import { Observable } from 'rxjs';
    4
    
                  
    5
    import { AuthService } from './auth.service';
  4. Example of decorator implementation ... Example of decorator implementation in TypeScript. Used for Medium article : https://goo.gl/oNkH1s
    1
    import { Cache } from 'RandomCacheLibrary';
    2
    
                  
    3
    // Define a function with one parameter: the key under which the data will be cached
    4
    export function CacheReturnValue(key: string) {
    5
      // Return our high-order function