Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

resolvers in angular

export interface Resolve<T> {
  resolve(
   route: ActivatedRouteSnapshot, 
   state: RouterStateSnapshot
  ): Observable<T> | Promise<T> | T {
    return 'Data resolved here...'
 }
}
Source by www.bacancytechnology.com #
 
PREVIOUS NEXT
Tagged: #resolvers #angular
ADD COMMENT
Topic
Name
8+5 =