docs(core): Myriad of documentation changes including lots of new example code.

This commit is contained in:
Alex Rickabaugh
2015-11-30 08:28:54 -08:00
committed by vsavkin
parent f0d876a873
commit 778677ba75
16 changed files with 306 additions and 206 deletions

View File

@ -33,6 +33,11 @@ function _getElementId(element): number[] {
}
}
/**
* Returns a {@link DebugElement} for the given native DOM element, or
* null if the given native element does not have an Angular view associated
* with it.
*/
export function inspectNativeElement(element): DebugElement {
var elId = _getElementId(element);
if (isPresent(elId)) {