@reall3d/reall3dviewer 0.0.3 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/pkg.d.ts CHANGED
@@ -22,7 +22,7 @@ declare class Events {
22
22
  /**
23
23
  * 高斯模型选项
24
24
  */
25
- declare interface ModelOptions {
25
+ export declare interface ModelOptions {
26
26
  /**
27
27
  * 模型地址
28
28
  */
@@ -70,11 +70,15 @@ export declare class Reall3dMapViewer extends EventDispatcher<tt.plugin.GLViewer
70
70
  /**
71
71
  * 地图配置项
72
72
  */
73
- declare interface Reall3dMapViewerOptions {
73
+ export declare interface Reall3dMapViewerOptions {
74
74
  /**
75
- * 容器元素或其选择器,默认选择器为'#map',自动创建画布时若找不到容器节点,将在'#gsviewer'下自动创建容器
75
+ * 容器元素或其选择器,默认选择器为'#map',找不到时将自动创建
76
76
  */
77
77
  root?: HTMLElement | string;
78
+ /**
79
+ * 是否允许键盘操作,默认true
80
+ */
81
+ enableKeyboard?: boolean | undefined;
78
82
  /**
79
83
  * 是否调试模式,生产环境默认false
80
84
  */
@@ -139,7 +143,7 @@ export declare class Reall3dViewer {
139
143
  /**
140
144
  * 高斯网格配置项
141
145
  */
142
- declare interface Reall3dViewerOptions {
146
+ export declare interface Reall3dViewerOptions {
143
147
  /**
144
148
  * 指定渲染器对象传入使用,未定义时自动生成
145
149
  */