-
container
HTMLDivElement
autocast
inherited
來自 String
id
或表示包含視圖的 DOM 元素的節點。這通常在視圖的構造函數中設置。例子:
// Sets container to the DOM id let view = new MapView({ container: "viewDiv" // ID of the HTML element that holds the view });
// Sets container to the node let viewNode = document.getElementById("viewDiv"); let view = new SceneView({ container: viewNode });
基本信息
以下是所在類或對象的基本信息。
AMD:
require(["esri/views/SceneView"], (SceneView) => { /* code goes here */ });
ESM:
import SceneView from "@arcgis/core/views/SceneView";
類:
esri/views/SceneView
繼承: SceneView > View > Accessor
自從:用於 JavaScript 4.0 的 ArcGIS API
用法說明
SceneView.container
函數(或屬性)的定義如下:
相關用法
- JavaScript ArcGIS SceneView.camera用法及代碼示例
- JavaScript ArcGIS SceneView.clippingArea用法及代碼示例
- JavaScript ArcGIS SceneView.center用法及代碼示例
- JavaScript ArcGIS SceneView.breakpoints用法及代碼示例
- JavaScript ArcGIS SceneView.on用法及代碼示例
- JavaScript ArcGIS SceneView.highlightOptions用法及代碼示例
- JavaScript ArcGIS SceneView.input用法及代碼示例
- JavaScript ArcGIS SceneView.ui用法及代碼示例
- JavaScript ArcGIS SceneView.whenAnalysisView用法及代碼示例
- JavaScript ArcGIS SceneView.widthBreakpoint用法及代碼示例
- JavaScript ArcGIS SceneView.navigation用法及代碼示例
- JavaScript ArcGIS SceneView.hitTest用法及代碼示例
- JavaScript ArcGIS SceneView.popup用法及代碼示例
- JavaScript ArcGIS SceneView.graphics用法及代碼示例
- JavaScript ArcGIS SceneView.when用法及代碼示例
- JavaScript ArcGIS SceneView.zoom用法及代碼示例
- JavaScript ArcGIS SceneView.takeScreenshot用法及代碼示例
- JavaScript ArcGIS SceneView.whenLayerView用法及代碼示例
- JavaScript ArcGIS SceneView.goTo用法及代碼示例
- JavaScript ArcGIS SceneView.tryFatalErrorRecovery用法及代碼示例
- JavaScript ArcGIS SceneView.alphaCompositingEnabled用法及代碼示例
- JavaScript ArcGIS SceneView.heightBreakpoint用法及代碼示例
- JavaScript ArcGIS SceneView.qualityProfile用法及代碼示例
- JavaScript ArcGIS SceneView.environment用法及代碼示例
- JavaScript ArcGIS SceneView.EasingFunction用法及代碼示例
注:本文由純淨天空篩選整理自arcgis.com大神的英文原創作品 SceneView.container。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。