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

Function initPage

examples/js/example.js:20–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18
19//左侧层级不包含例子,只包含分类
20function initPage() {
21 var sideBar = $("ul#sidebar-menu");
22 var chartList = $("#charts-list");
23 for (var key in exConfig) {
24 if (typeof exConfig[key] === 'object' && exConfig[key] !== null) {
25 sideBar.append(createSideBarMenuItem(key, exConfig[key], containExamples));
26 chartList.append(createGalleryItem(key, exConfig[key]));
27 }
28 }
29 resizeCharts();
30 initSelect();
31 sidebarScrollFix();
32}
33
34
35//初始化页面第一次加载

Callers 1

example.jsFile · 0.70

Calls 6

createSideBarMenuItemFunction · 0.85
createGalleryItemFunction · 0.85
resizeChartsFunction · 0.85
sidebarScrollFixFunction · 0.85
initSelectFunction · 0.70
$Function · 0.50

Tested by

no test coverage detected