浏览代码

Docs: version bump

customisations
alemart 1年前
父节点
当前提交
52fc0d8288
共有 2 个文件被更改,包括 7 次插入7 次删除
  1. 1
    1
      docs/api/reference-image-database.md
  2. 6
    6
      docs/api/viewport.md

+ 1
- 1
docs/api/reference-image-database.md 查看文件

@@ -16,7 +16,7 @@ The number of reference images stored in this database.
16 16
 
17 17
 The maximum number of reference images that can be stored in this database.
18 18
 
19
-*Note:* this property is writable since version 0.2.1 (experimental).
19
+*Note:* this property is writable since version 0.3.0 (experimental).
20 20
 
21 21
 ## Methods
22 22
 

+ 6
- 6
docs/api/viewport.md 查看文件

@@ -17,7 +17,7 @@ Create a new viewport with the specified `settings`.
17 17
     * `hudContainer: HTMLDivElement, optional`. An overlay that will be displayed in front of the augmented scene. It must be a direct child of `container` in the DOM tree.
18 18
     * `resolution: Resolution, optional`. The [resolution](resolution.md) of the virtual scene.
19 19
     * `canvas: HTMLCanvasElement, optional`. An existing canvas on which the virtual scene will be drawn. The engine automatically creates a canvas. You should only specify an existing canvas if you must. Experimental.
20
-    * `style: string, optional.` The [viewport style](#style). *Since:* 0.2.1
20
+    * `style: string, optional.` The [viewport style](#style). *Since:* 0.3.0
21 21
 
22 22
 **Returns**
23 23
 
@@ -76,7 +76,7 @@ The style determines the way the viewport appears on the screen. Different style
76 76
 
77 77
 The default style is `"best-fit"` in immersive mode, or `"inline"` in inline mode.
78 78
 
79
-*Since:* 0.2.1
79
+*Since:* 0.3.0
80 80
 
81 81
 ### fullscreen
82 82
 
@@ -84,7 +84,7 @@ The default style is `"best-fit"` in immersive mode, or `"inline"` in inline mod
84 84
 
85 85
 Whether or not the viewport [container](#container) is being displayed in fullscreen mode.
86 86
 
87
-*Since:* 0.2.1
87
+*Since:* 0.3.0
88 88
 
89 89
 ### fullscreenAvailable
90 90
 
@@ -92,7 +92,7 @@ Whether or not the viewport [container](#container) is being displayed in fullsc
92 92
 
93 93
 Checks the availability of the fullscreen mode on the current platform and page.
94 94
 
95
-*Since:* 0.2.1
95
+*Since:* 0.3.0
96 96
 
97 97
 
98 98
 
@@ -108,7 +108,7 @@ Make a request to the user agent so that the viewport [container](#container) is
108 108
 
109 109
     At the time of this writing, the fullscreen mode is [not supported on iPhone](https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullscreen#browser_compatibility). An alternative way to create a fullscreen experience is to set the viewport [style](#style) to `"stretch"` in a [web app](https://developer.mozilla.org/en-US/docs/Web/Manifest/display).
110 110
 
111
-*Since:* 0.2.1
111
+*Since:* 0.3.0
112 112
 
113 113
 **Returns**
114 114
 
@@ -139,7 +139,7 @@ button.addEventListener('click', toggleFullscreen);
139 139
 
140 140
 Exit fullscreen mode.
141 141
 
142
-*Since:* 0.2.1
142
+*Since:* 0.3.0
143 143
 
144 144
 **Returns**
145 145
 

正在加载...
取消
保存