BlocPipe constructor
BlocPipe(
- ChangeDetectorRef _ref
A pipe
which helps bind BlocBase (Bloc and Cubit)
state changes to the presentation layer.
BlocPipe handles rendering the html element in response to new states.
BlocPipe is very similar to AsyncPipe
but is designed
specifically for blocs.
<p>Current Count: {{ $pipe.bloc(counterBloc) }}</p>
See also:
Implementation
BlocPipe(this._ref);