docs/vendor.js
function getOrCreateElementRef(di) {
    return di.elementRef || (di.elementRef = new ElementRef$1(di.node.native));
}
function getOrCreateElementRef(di) {
    return di.elementRef || (di.elementRef = new ElementRef$1(di.node.native));
}
function getOrCreateElementRef ( di ) { return di . elementRef || ( di . elementRef = new ElementRef$1 ( di . node . native ) ) ; }
Creates an ElementRef for a given node injector and stores it on the injector.
Or, if the ElementRef already exists, retrieves the existing ElementRef.

@param di The node injector where we should store a created ElementRef
@returns The ElementRef instance to use
Creates an ElementRef for a given node injector and stores it on the injector . Or if the ElementRef already exists retrieves the existing ElementRef .