Просмотр исходного кода

Docs: version bump

customisations
alemart 1 год назад
Родитель
Сommit
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
 
16
 
17
 The maximum number of reference images that can be stored in this database.
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
 ## Methods
21
 ## Methods
22
 
22
 

+ 6
- 6
docs/api/viewport.md Просмотреть файл

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.
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
     * `resolution: Resolution, optional`. The [resolution](resolution.md) of the virtual scene.
18
     * `resolution: Resolution, optional`. The [resolution](resolution.md) of the virtual scene.
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.
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
 **Returns**
22
 **Returns**
23
 
23
 
76
 
76
 
77
 The default style is `"best-fit"` in immersive mode, or `"inline"` in inline mode.
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
 ### fullscreen
81
 ### fullscreen
82
 
82
 
84
 
84
 
85
 Whether or not the viewport [container](#container) is being displayed in fullscreen mode.
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
 ### fullscreenAvailable
89
 ### fullscreenAvailable
90
 
90
 
92
 
92
 
93
 Checks the availability of the fullscreen mode on the current platform and page.
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
 
108
 
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).
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
 **Returns**
113
 **Returns**
114
 
114
 
139
 
139
 
140
 Exit fullscreen mode.
140
 Exit fullscreen mode.
141
 
141
 
142
-*Since:* 0.2.1
142
+*Since:* 0.3.0
143
 
143
 
144
 **Returns**
144
 **Returns**
145
 
145
 

Загрузка…
Отмена
Сохранить