babylonjs-accessibility 6.39.0 → 6.40.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -27,6 +27,7 @@ export class HTMLTwinGUIItem extends HTMLTwinItem {
|
|
27
27
|
/**
|
28
28
|
* The text content displayed in HTML element.
|
29
29
|
* @param options - Options to render HTML twin tree where this element is contained.
|
30
|
+
* @returns The text content displayed in HTML element.
|
30
31
|
*/
|
31
32
|
getDescription(options: IHTMLTwinRendererOptions): string;
|
32
33
|
/**
|
@@ -114,11 +115,17 @@ export class HTMLTwinItem {
|
|
114
115
|
* The BabylonJS scene that the corresponding BabylonJS entity is in.
|
115
116
|
*/
|
116
117
|
scene: Scene;
|
118
|
+
/**
|
119
|
+
* Constructor of HTMLTwinItem.
|
120
|
+
* @param entity - The corresponding BabylonJS entity. Can be a Node or a Control.
|
121
|
+
* @param scene - The BabylonJS scene that the corresponding BabylonJS entity is in.
|
122
|
+
*/
|
117
123
|
constructor(entity: AccessibilityEntity, scene: Scene);
|
118
124
|
/**
|
119
125
|
* The text content displayed in HTML element.
|
120
126
|
* Returns the description in accessibilityTag, if defined (returns "" by default).
|
121
127
|
* @param _options - The options to render the HTML twin tree where this item is contained. Not used in this class, but in its children.
|
128
|
+
* @returns the text content displayed in HTML element
|
122
129
|
*/
|
123
130
|
getDescription(_options: IHTMLTwinRendererOptions): string;
|
124
131
|
/**
|
@@ -301,6 +308,7 @@ declare module BABYLON.Accessibility {
|
|
301
308
|
/**
|
302
309
|
* The text content displayed in HTML element.
|
303
310
|
* @param options - Options to render HTML twin tree where this element is contained.
|
311
|
+
* @returns The text content displayed in HTML element.
|
304
312
|
*/
|
305
313
|
getDescription(options: IHTMLTwinRendererOptions): string;
|
306
314
|
/**
|
@@ -376,11 +384,17 @@ declare module BABYLON.Accessibility {
|
|
376
384
|
* The BabylonJS scene that the corresponding BabylonJS entity is in.
|
377
385
|
*/
|
378
386
|
scene: BABYLON.Scene;
|
387
|
+
/**
|
388
|
+
* Constructor of HTMLTwinItem.
|
389
|
+
* @param entity - The corresponding BabylonJS entity. Can be a BABYLON.Node or a BABYLON.GUI.Control.
|
390
|
+
* @param scene - The BabylonJS scene that the corresponding BabylonJS entity is in.
|
391
|
+
*/
|
379
392
|
constructor(entity: AccessibilityEntity, scene: BABYLON.Scene);
|
380
393
|
/**
|
381
394
|
* The text content displayed in HTML element.
|
382
395
|
* Returns the description in accessibilityTag, if defined (returns "" by default).
|
383
396
|
* @param _options - The options to render the HTML twin tree where this item is contained. Not used in this class, but in its children.
|
397
|
+
* @returns the text content displayed in HTML element
|
384
398
|
*/
|
385
399
|
getDescription(_options: IHTMLTwinRendererOptions): string;
|
386
400
|
/**
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "babylonjs-accessibility",
|
3
|
-
"version": "6.
|
3
|
+
"version": "6.40.0",
|
4
4
|
"main": "babylon.accessibility.max.js",
|
5
5
|
"types": "babylon.accessibility.module.d.ts",
|
6
6
|
"files": [
|
@@ -14,8 +14,8 @@
|
|
14
14
|
"clean": "rimraf dist && rimraf babylon*.*"
|
15
15
|
},
|
16
16
|
"dependencies": {
|
17
|
-
"babylonjs": "^6.
|
18
|
-
"babylonjs-gui": "^6.
|
17
|
+
"babylonjs": "^6.40.0",
|
18
|
+
"babylonjs-gui": "^6.40.0"
|
19
19
|
},
|
20
20
|
"devDependencies": {
|
21
21
|
"@dev/build-tools": "1.0.0",
|