MCPcopy
hub / github.com/angular/components / _assertInitialized

Method _assertInitialized

src/google-maps/map-marker/map-marker.ts:492–501  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

490 }
491
492 private _assertInitialized(): asserts this is {marker: google.maps.Marker} {
493 if (typeof ngDevMode === 'undefined' || ngDevMode) {
494 if (!this.marker) {
495 throw Error(
496 'Cannot interact with a Google Map Marker before it has been ' +
497 'initialized. Please wait for the Marker to load before trying to interact with it.',
498 );
499 }
500 }
501 }
502}

Callers 14

_initializeMethod · 0.95
getAnimationMethod · 0.95
getClickableMethod · 0.95
getCursorMethod · 0.95
getDraggableMethod · 0.95
getIconMethod · 0.95
getLabelMethod · 0.95
getOpacityMethod · 0.95
getPositionMethod · 0.95
getShapeMethod · 0.95
getTitleMethod · 0.95
getVisibleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected