MCPcopy Index your code
hub / github.com/SuperMap/iClient-JavaScript / copyLayoutParams

Function copyLayoutParams

libs/echarts/echarts.simple.js:19977–19982  ·  view source on GitHub ↗

* Retrieve 'left', 'right', 'top', 'bottom', 'width', 'height' from object. * @param {Object} source * @return {Object} Result contains those props.

(target, source)

Source from the content-addressed store, hash-verified

19975 * @return {Object} Result contains those props.
19976 */
19977function copyLayoutParams(target, source) {
19978 source && target && each$3(LOCATION_PARAMS, function (name) {
19979 source.hasOwnProperty(name) && (target[name] = source[name]);
19980 });
19981 return target;
19982}
19983
19984/*
19985* Licensed to the Apache Software Foundation (ASF) under one

Callers 1

getLayoutParamsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected