DaffNavigationFacade
import { DaffNavigationFacade } from '@daffodil/navigation/state'
@Injectable()
class DaffNavigationFacade<<T extends DaffGenericNavigationTree<T>>> implements DaffNavigationFacadeInterface<T> {
tree$: Observable<T>
loading$: Observable<boolean>
errors$: Observable<DaffStateError[]>
dispatch(action: Action<string>)
}
Properties
Name | Type | Description |
---|---|---|
tree$ | Observable<T> | The navigation retrieved in a single navigation call. |
loading$ | Observable<boolean> | The loading state for retrieving a single navigation. |
errors$ | Observable<DaffStateError[]> | Errors associated with retrieving a single navigation. |
dispatch | Dispatches the given action. |