docs(links): change bad links for Type RenderViewRef RenderFragmentRef, onEventDoneFn, and Renderer api.
This commit is contained in:
parent
408618b836
commit
3a7c9e4c62
|
@ -3,7 +3,7 @@ import {Type, isPresent} from 'angular2/src/facade/lang';
|
|||
import {Map, MapWrapper} from 'angular2/src/facade/collection';
|
||||
|
||||
/**
|
||||
* Resolve a {@link Type} from a {@link Component} into a URL.
|
||||
* Resolve a `Type` from a {@link Component} into a URL.
|
||||
*
|
||||
* This interface can be overridden by the application developer to create custom behavior.
|
||||
*
|
||||
|
|
|
@ -4,7 +4,7 @@ import {Directive} from '../annotations_impl/annotations';
|
|||
import {reflector} from 'angular2/src/reflection/reflection';
|
||||
|
||||
/**
|
||||
* Resolve a {@link Type} for {@link Directive}.
|
||||
* Resolve a `Type` for {@link Directive}.
|
||||
*
|
||||
* This interface can be overridden by the application developer to create custom behavior.
|
||||
*
|
||||
|
@ -13,7 +13,7 @@ import {reflector} from 'angular2/src/reflection/reflection';
|
|||
@Injectable()
|
||||
export class DirectiveResolver {
|
||||
/**
|
||||
* Return {@link Directive} for a given {@link Type}.
|
||||
* Return {@link Directive} for a given `Type`.
|
||||
*/
|
||||
resolve(type: Type): Directive {
|
||||
var annotations = reflector.annotations(resolveForwardRef(type));
|
||||
|
|
|
@ -25,7 +25,7 @@ export class ElementRef implements RenderElementRef {
|
|||
boundElementIndex: number;
|
||||
|
||||
/**
|
||||
* Index of the element inside the {@link RenderViewRef}.
|
||||
* Index of the element inside the `RenderViewRef`.
|
||||
*
|
||||
* This is used internally by the Angular framework to locate elements.
|
||||
*/
|
||||
|
|
|
@ -6,7 +6,7 @@ import * as viewModule from './view';
|
|||
* Reference to a template within a component.
|
||||
*
|
||||
* Represents an opaque reference to the underlying template that can
|
||||
* be instantiated using the {@Link ViewContainerRef}.
|
||||
* be instantiated using the {@link ViewContainerRef}.
|
||||
*/
|
||||
export class TemplateRef {
|
||||
/**
|
||||
|
|
|
@ -67,12 +67,12 @@ export class ViewRef {
|
|||
constructor(public _view: viewModule.AppView) {}
|
||||
|
||||
/**
|
||||
* Return {@link RenderViewRef}
|
||||
* Return `RenderViewRef`
|
||||
*/
|
||||
get render(): RenderViewRef { return this._view.render; }
|
||||
|
||||
/**
|
||||
* Return {@link RenderFragmentRef}
|
||||
* Return `RenderFragmentRef`
|
||||
*/
|
||||
get renderFragment(): RenderFragmentRef { return this._view.renderFragment; }
|
||||
|
||||
|
|
|
@ -88,7 +88,7 @@ class NgZone {
|
|||
* Sets the zone hook that is called immediately after the last turn in
|
||||
* an event completes. At this point Angular will no longer attempt to
|
||||
* sync the UI. Any changes to the data model will not be reflected in the
|
||||
* DOM. {@link onEventDoneFn} is executed outside Angular zone.
|
||||
* DOM. `onEventDoneFn` is executed outside Angular zone.
|
||||
*
|
||||
* This hook is useful for validating application state (e.g. in a test).
|
||||
*/
|
||||
|
|
|
@ -89,7 +89,7 @@ export class NgZone {
|
|||
* Sets the zone hook that is called immediately after the last turn in
|
||||
* an event completes. At this point Angular will no longer attempt to
|
||||
* sync the UI. Any changes to the data model will not be reflected in the
|
||||
* DOM. {@link onEventDoneFn} is executed outside Angular zone.
|
||||
* DOM. `onEventDoneFn` is executed outside Angular zone.
|
||||
*
|
||||
* This hook is useful for validating application state (e.g. in a test).
|
||||
*/
|
||||
|
|
|
@ -11,11 +11,12 @@ import {setProperty} from './shared';
|
|||
* Marks <option> as dynamic, so Angular can be notified when options change.
|
||||
*
|
||||
* #Example:
|
||||
*
|
||||
* ```
|
||||
* <select ng-control="city">
|
||||
* <option *ng-for="#c of cities" [value]="c"></option>
|
||||
* </select>
|
||||
* ``
|
||||
* ```
|
||||
*/
|
||||
@Directive({selector: 'option'})
|
||||
export class NgSelectOption {
|
||||
|
|
|
@ -356,15 +356,15 @@ export class RenderViewWithFragments {
|
|||
/**
|
||||
* Abstract reference to the element which can be marshaled across web-worker boundry.
|
||||
*
|
||||
* This interface is used by the {@link Renderer} api.
|
||||
* This interface is used by the Renderer API.
|
||||
*/
|
||||
export interface RenderElementRef {
|
||||
/**
|
||||
* Reference to the {@link RenderViewRef} where the `RenderElementRef` is inside of.
|
||||
* Reference to the `RenderViewRef` where the `RenderElementRef` is inside of.
|
||||
*/
|
||||
renderView: RenderViewRef;
|
||||
/**
|
||||
* Index of the element inside the {@link RenderViewRef}.
|
||||
* Index of the element inside the `RenderViewRef`.
|
||||
*
|
||||
* This is used internally by the Angular framework to locate elements.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue