MCPcopy Create free account
hub / github.com/SuperMap/iClient-JavaScript / determineSubType

Function determineSubType

libs/echarts/echarts.simple.js:21924–21934  ·  view source on GitHub ↗

* @inner

(mainType, newCptOption, existComponent)

Source from the content-addressed store, hash-verified

21922 * @inner
21923 */
21924function determineSubType(mainType, newCptOption, existComponent) {
21925 var subType = newCptOption.type
21926 ? newCptOption.type
21927 : existComponent
21928 ? existComponent.subType
21929 // Use determineSubType only when there is no existComponent.
21930 : ComponentModel.determineSubType(mainType, newCptOption);
21931
21932 // tooltip, markline, markpoint may always has no subType
21933 return subType;
21934}
21935
21936/**
21937 * @inner

Callers 1

visitComponentFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected