docs(*) fix dangling links in API docs (#16632)
* docs(animations): fix links to `Component` animations * docs(core): fix links to `ReflectiveInjector` methods The `resolve` and other methods were moved from the `Injector` to the `ReflectiveInjector`. * docs(core): fix links to `Renderer` The local links were assuming that that methods were on the current document (e.g. `RootRenderer`), but they are actually on the `Renderer` class. * docs(router): fix links to methods * docs(forms): fix links to methods * docs(core): fix links to methods * docs(router): fix API page links and an internal link
This commit is contained in:

committed by
Jason Aden

parent
b44eb328e0
commit
d0e72a8f8f
@ -113,7 +113,7 @@ export abstract class ReflectiveInjector implements Injector {
|
||||
*
|
||||
* This function is slower than the corresponding `fromResolvedProviders`
|
||||
* because it needs to resolve the passed-in providers first.
|
||||
* See {@link Injector#resolve} and {@link Injector#fromResolvedProviders}.
|
||||
* See {@link ReflectiveInjector#resolve} and {@link ReflectiveInjector#fromResolvedProviders}.
|
||||
*/
|
||||
static resolveAndCreate(providers: Provider[], parent?: Injector): ReflectiveInjector {
|
||||
const ResolvedReflectiveProviders = ReflectiveInjector.resolve(providers);
|
||||
@ -190,7 +190,7 @@ export abstract class ReflectiveInjector implements Injector {
|
||||
*
|
||||
* This function is slower than the corresponding `createChildFromResolved`
|
||||
* because it needs to resolve the passed-in providers first.
|
||||
* See {@link Injector#resolve} and {@link Injector#createChildFromResolved}.
|
||||
* See {@link ReflectiveInjector#resolve} and {@link ReflectiveInjector#createChildFromResolved}.
|
||||
*/
|
||||
abstract resolveAndCreateChild(providers: Provider[]): ReflectiveInjector;
|
||||
|
||||
|
@ -61,19 +61,19 @@ export enum ViewEncapsulation {
|
||||
* {@link Component}
|
||||
*/
|
||||
export class ViewMetadata {
|
||||
/** {@link Component.templateUrl} */
|
||||
/** {@link Component#templateUrl} */
|
||||
templateUrl: string|undefined;
|
||||
/** {@link Component.template} */
|
||||
/** {@link Component#template} */
|
||||
template: string|undefined;
|
||||
/** {@link Component.stylesUrl} */
|
||||
/** {@link Component#stylesUrl} */
|
||||
styleUrls: string[]|undefined;
|
||||
/** {@link Component.styles} */
|
||||
/** {@link Component#styles} */
|
||||
styles: string[]|undefined;
|
||||
/** {@link Component.encapsulation} */
|
||||
/** {@link Component#encapsulation} */
|
||||
encapsulation: ViewEncapsulation|undefined;
|
||||
/** {@link Component.animation} */
|
||||
/** {@link Component#animation} */
|
||||
animations: any[]|undefined;
|
||||
/** {@link Component.interpolation} */
|
||||
/** {@link Component#interpolation} */
|
||||
interpolation: [string, string]|undefined;
|
||||
|
||||
constructor(
|
||||
|
@ -99,7 +99,8 @@ export const Renderer2Interceptor = new InjectionToken<Renderer2[]>('Renderer2In
|
||||
*
|
||||
* Use this service to bypass Angular's templating and make custom UI changes that can't be
|
||||
* expressed declaratively. For example if you need to set a property or an attribute whose name is
|
||||
* not statically known, use {@link #setElementProperty} or {@link #setElementAttribute}
|
||||
* not statically known, use {@link Renderer#setElementProperty} or {@link
|
||||
* Renderer#setElementAttribute}
|
||||
* respectively.
|
||||
*
|
||||
* If you are implementing a custom renderer, you must implement this interface.
|
||||
|
Reference in New Issue
Block a user