@bubblydoo/angular-react
Advanced tools
Comparing version 0.4.0-beta.2 to 0.4.0-beta.3
import { InjectionToken } from '@angular/core'; | ||
import { InjectableReactContext } from './use-injectable-react-context'; | ||
export declare const ReactContextToken: InjectionToken<InjectableReactContext>; | ||
export declare const InjectableReactContextToken: InjectionToken<InjectableReactContext>; |
@@ -8,4 +8,4 @@ import * as ng from "@angular/core"; | ||
* | ||
* This template is meant to be used in a [ngTemplateOutlet] where [ngTemplateOutletInjector] is defined. | ||
* If you can't define [ngTemplateOutletInjector], use `useToAngularTemplateRefBoundToContextAndPortals`. | ||
* This template is meant to be used in a `[ngTemplateOutlet]` where `[ngTemplateOutletInjector]` is defined. | ||
* If you can't define `[ngTemplateOutletInjector]`, use `useToAngularTemplateRefBoundToContextAndPortals`. | ||
*/ | ||
@@ -16,2 +16,3 @@ export declare function useToAngularTemplateRef<C>(Component: (props: C) => any): ng.TemplateRef<C> | undefined; | ||
* The template ref is bound to the context of where this hook is called. | ||
* Because of this, you don't need `[ngTemplateOutletInjector]` on the `<ng-container>`. | ||
* This hook returns `[templateRef, portals]`. | ||
@@ -18,0 +19,0 @@ * Make sure the portals are rendered somewhere in your tree: `<>{portals}</>`. |
{ | ||
"name": "@bubblydoo/angular-react", | ||
"version": "0.4.0-beta.2", | ||
"version": "0.4.0-beta.3", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "author": "Hans Otto Wirtz <hansottowirtz@gmail.com>", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
310887
2089