DaffEmptyCartResolver

Resolves the cart before navigation. Redirects to a given url when a failure occurs during Cart Load. This url is / by default but can be overridden with the DaffCartResolverRedirectUrl injection token. This resolver also redirects to a different url when the cart is empty after successfully loading. This url is also / by default, but can be overridden with the DaffEmptyCartResolverRedirectUrl

Properties

Name Type Description
resolve Observable<DaffCart>
Graycore, LLC © 2018 - 2024. Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.