DaffCheckoutPlacedOrderGuard
A routing guard that will redirect to a given url if the placed order is not defined.
The url is /
by default, but can be overridden with the DaffCheckoutPlacedOrderGuardRedirectUrl injection token.
import { DaffCheckoutPlacedOrderGuard } from '@daffodil/checkout/routing'
@Injectable()
class DaffCheckoutPlacedOrderGuard {
canActivate(): Observable<boolean>
}
Properties
Name | Type | Description |
---|---|---|
canActivate | Observable<boolean> |