FullscreenButton

new Cesium.FullscreenButton(container, fullscreenElement)

用于切换全屏模式的单个按钮小部件。
Name Type Default Description
container Element | string 将包含小部件的DOM元素或ID。
fullscreenElement Element | string document.body optional 要置于全屏模式的元素或id
Throws:
See:

Members

获取父容器。
获取视图模型。

Methods

销毁小部件。如果从布局中永久删除小部件, 则应该调用。
Returns:
如果对象已被销毁,则为true,否则为false。
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.