数字孪生Web 后台dt( digital twin)2.0版本 统一命名格式
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

424 lines
7.2 KiB

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ContextMenu - XbsjEarth Documentation</title>
<!--[if lt IE 9]>
<script src="javascript/html5.js"></script>
<![endif]-->
<link href="styles/jsdoc-default.css" rel="stylesheet">
<link href="styles/prism.css" rel="stylesheet">
</head>
<body>
<div id="main">
<h1 class="page-title">
<!-- <a href="index.html"><img src="Images/CesiumLogo.png" class="cesiumLogo"></a> -->
<a href="index.html">EarthSDK</a>
ContextMenu
<div class="titleCenterer"></div>
</h1>
<section>
<header>
<div class="class-description">右键菜单</div>
</header>
<article>
<div class="container-overview">
<div class="nameContainer">
<h4 class="name" id="ContextMenu">
<a href="#ContextMenu" class="doc-link"></a>
new ContextMenu<span class="signature">()</span>
<div class="source-link rightLinks">
</div>
</h4>
</div>
<dl class="details">
</dl>
</div>
<h3 class="subsection-title">Members</h3>
<div class="nameContainer">
<h4 class="name" id="show">
<a href="#show" class="doc-link"></a>
show<span class="type-signature"> : boolean</span>
<div class="source-link rightLinks">
</div>
</h4>
</div>
<div class="description">
是否显示
</div>
<dl class="details">
<span class="details-header">Default Value:</span>
<code class="language-javascript">false</code>
</dl>
<h3 class="subsection-title">Methods</h3>
<div class="nameContainer">
<h4 class="name" id="pop">
<a href="#pop" class="doc-link"></a>
pop<span class="signature">(items, x, y)</span>
<div class="source-link rightLinks">
</div>
</h4>
</div>
<div class="description">
弹出右键菜单
</div>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>items</code></td>
<td class="type">
<span class="param-type">Object</span>
</td>
<td class="description last">
菜单项 详见示例</td>
</tr>
<tr>
<td class="name"><code>x</code></td>
<td class="type">
<span class="param-type">Number</span>
</td>
<td class="description last">
弹出的x位置,如果不传递,那么使用鼠标目前位置</td>
</tr>
<tr>
<td class="name"><code>y</code></td>
<td class="type">
<span class="param-type">Number</span>
</td>
<td class="description last">
弹出的x位置,如果不传递,那么使用鼠标目前位置</td>
</tr>
</tbody>
</table>
<dl class="details">
</dl>
</article>
</section>
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.2</a>
</footer>
</div>
<div class="nav">
<div class="menu">
<input type="text" class="classFilter" id="ClassFilter" placeholder="Search">
<ul id="ClassList"><li data-name="CameraViewManager"><a href="CameraViewManager.html">CameraViewManager</a></li><li data-name="ColorPicker"><a href="ColorPicker.html">ColorPicker</a></li><li data-name="ContextMenu"><a href="ContextMenu.html">ContextMenu</a></li><li data-name="ControlsCollection"><a href="ControlsCollection.html">ControlsCollection</a></li><li data-name="CutFillComputing"><a href="CutFillComputing.html">CutFillComputing</a></li><li data-name="DefaultAccessToken"><a href="DefaultAccessToken.html">DefaultAccessToken</a></li><li data-name="EntityMore"><a href="EntityMore.html">EntityMore</a></li><li data-name="FeatureProperty"><a href="FeatureProperty.html">FeatureProperty</a></li><li data-name="ImageryArcGis"><a href="ImageryArcGis.html">ImageryArcGis</a></li><li data-name="ImageryCloud"><a href="ImageryCloud.html">ImageryCloud</a></li><li data-name="ImageryLab"><a href="ImageryLab.html">ImageryLab</a></li><li data-name="ImageryOnline"><a href="ImageryOnline.html">ImageryOnline</a></li><li data-name="ImageryWMS"><a href="ImageryWMS.html">ImageryWMS</a></li><li data-name="ImageryWMTS"><a href="ImageryWMTS.html">ImageryWMTS</a></li><li data-name="LabScene"><a href="LabScene.html">LabScene</a></li><li data-name="LabServer"><a href="LabServer.html">LabServer</a></li><li data-name="MainBar"><a href="MainBar.html">MainBar</a></li><li data-name="MainUI"><a href="MainUI.html">MainUI</a></li><li data-name="ModelCloud"><a href="ModelCloud.html">ModelCloud</a></li><li data-name="ModelForest"><a href="ModelForest.html">ModelForest</a></li><li data-name="ModelLab"><a href="ModelLab.html">ModelLab</a></li><li data-name="ModelOnline"><a href="ModelOnline.html">ModelOnline</a></li><li data-name="ModelTree"><a href="ModelTree.html">ModelTree</a></li><li data-name="SceneTree"><a href="SceneTree.html">SceneTree</a></li><li data-name="StatusBar"><a href="StatusBar.html">StatusBar</a></li><li data-name="Symbol"><a href="Symbol.html">Symbol</a></li><li data-name="TerrainCloud"><a href="TerrainCloud.html">TerrainCloud</a></li><li data-name="TerrainLab"><a href="TerrainLab.html">TerrainLab</a></li><li data-name="TerrainOnline"><a href="TerrainOnline.html">TerrainOnline</a></li><li data-name="TilesetPage"><a href="TilesetPage.html">TilesetPage</a></li><li data-name="TilesTest"><a href="TilesTest.html">TilesTest</a></li><li data-name="TimelineBar"><a href="TimelineBar.html">TimelineBar</a></li><li data-name="ToolsCollection"><a href="ToolsCollection.html">ToolsCollection</a></li></ul>
</div>
</div>
<script>
if (window.frameElement) {
document.body.className = 'embedded';
var ele = document.createElement('a');
ele.className = 'popout';
ele.target = '_blank';
ele.href = window.location.href;
ele.title = 'Pop out';
document.getElementById('main').appendChild(ele);
}
// Set targets on external links. Sandcastle and GitHub shouldn't be embedded in any iframe.
Array.prototype.forEach.call(document.getElementsByTagName('a'), function(a) {
if (/^https?:/i.test(a.getAttribute('href'))) {
a.target='_blank';
}
});
</script>
<script src="javascript/prism.js"></script>
<script src="javascript/cesiumDoc.js"></script>
</body>
</html>