cleanup(docs): Edited API docs

This commit is contained in:
Naomi Black
2015-04-10 11:15:01 -07:00
parent 2ed7622239
commit e295940833
17 changed files with 197 additions and 22 deletions

View File

@ -702,7 +702,7 @@ export class DynamicComponent extends Directive {
* In our HTML template, we can then add this behavior to a `<div>` or any other element with the `tooltip` selector,
* like so:
*
* ```
* ```
* <div tooltip="some text here"></div>
* ```
*

View File

@ -18,7 +18,8 @@ import {ABSTRACT, CONST, Type} from 'angular2/src/facade/lang';
* selector: 'greet'
* })
* @View({
* template: 'Hello {{name}}!'
* template: 'Hello {{name}}!',
* directives: [GreetUser, Bold]
* })
* class Greet {
* name: string;

View File

@ -240,7 +240,7 @@ function _createVmZone(givenReporter:Function): VmTurnZone {
*
* Returns a [Promise] with the application`s private [Injector].
*
* @exportedAs angular2/angular2
* @exportedAs angular2/core
*/
export function bootstrap(appComponentType: Type,
componentInjectableBindings: List<Binding> = null,

View File

@ -9,7 +9,7 @@ import {DirectDomViewRef} from 'angular2/src/render/dom/direct_dom_renderer';
* Attention: NgElement will be replaced by a different concept
* for accessing an element in a way that is compatible with the render layer.
*
* @exportedAs angular2/angular2
* @exportedAs angular2/core
*/
export class NgElement {
_view:viewModule.AppView;

View File

@ -3,7 +3,7 @@ import {isPresent, print} from 'angular2/src/facade/lang';
import {ListWrapper, isListLikeIterable} from 'angular2/src/facade/collection';
/**
* @exportedAs angular2/angular2
* @exportedAs angular2/core
*/
@Injectable()
export class ExceptionHandler {