MCPcopy Index your code
hub / github.com/ampproject/amphtml / mutateProps

Method mutateProps

src/preact/base-element.js:500–503  ·  view source on GitHub ↗

* @protected * @param {JsonObject} props

(props)

Source from the content-addressed store, hash-verified

498 * @param {JsonObject} props
499 */
500 mutateProps(props) {
501 Object.assign(/** @type {object} */ (this.defaultProps_), props);
502 this.scheduleRender_();
503 }
504
505 /**
506 * @return {API_TYPE}

Callers 15

ensureLoadedMethod · 0.95
mountCallbackMethod · 0.95
unmountCallbackMethod · 0.95
onReadyState_Method · 0.95
initMethod · 0.80
base-element.jsFile · 0.80
initMethod · 0.80
initMethod · 0.80
onChangeHandlerMethod · 0.80
initMethod · 0.80

Calls 2

scheduleRender_Method · 0.95
assignMethod · 0.80

Tested by

no test coverage detected