docs(core): Myriad of documentation changes including lots of new example code.
This commit is contained in:
@ -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)) {
|
||||
|
Reference in New Issue
Block a user