DaffCartStoreCreditClearErrorsGuard
A guard that will clear cart state errors before allowing route deactivation.
import { DaffCartStoreCreditClearErrorsGuard } from '@daffodil/cart-store-credit/routing'
@Injectable()
class DaffCartStoreCreditClearErrorsGuard {
canDeactivate(): boolean | UrlTree | Observable<boolean | UrlTree> | Promise<boolean | UrlTree>
}
Properties
Name | Type | Description |
---|---|---|
canDeactivate | boolean | UrlTree | Observable<boolean | UrlTree> | Promise<boolean | UrlTree> |