GitHub

DaffCategoryPageUrlResolver

Resolves category data for category pages, and will only resolve the url after a category request succeeds or fails. This resolver will take a full a url of the form some/url.html(secondary:outlet)?query=param#fragment and attempt to resolve a product from it. Assumes that the URL to be resolved is the primary outlet.

@Injectable()
class DaffCategoryPageUrlResolver {
  resolve(
    route: ActivatedRouteSnapshot
    state: RouterStateSnapshot
  ): Observable<boolean>
}

Properties

Name Type Description
resolve Observable<boolean>