babylonjs-gui 9.36.1-preview.163731020 → 9.37.1
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/babylon.gui.d.ts +9 -0
- package/babylon.gui.es5.js +635 -624
- package/babylon.gui.js +1 -1
- package/babylon.gui.js.map +1 -1
- package/babylon.gui.min.js +1 -1
- package/babylon.gui.min.js.map +1 -1
- package/babylon.gui.module.d.ts +18 -0
- package/package.json +6 -6
package/babylon.gui.d.ts
CHANGED
|
@@ -6291,6 +6291,15 @@ declare namespace BABYLON.GUI {
|
|
|
6291
6291
|
*/
|
|
6292
6292
|
set source(value: BABYLON.Nullable<string>);
|
|
6293
6293
|
private _sanitizeSVG;
|
|
6294
|
+
private static readonly _SVGSourceAttribute;
|
|
6295
|
+
private static _FindSVGFrame;
|
|
6296
|
+
/**
|
|
6297
|
+
* Loads the SVG markup, sanitizes it, and exposes it to the hidden measuring frame. The frame is sandboxed without
|
|
6298
|
+
* "allow-scripts", so any active content that survives sanitization still cannot run with the application's origin.
|
|
6299
|
+
* @param svgsrc the url of the svg document
|
|
6300
|
+
* @param svgFrame the sandboxed frame used to measure the svg elements
|
|
6301
|
+
*/
|
|
6302
|
+
private _loadSanitizedSVG;
|
|
6294
6303
|
/**
|
|
6295
6304
|
* Checks for svg document with icon id present
|
|
6296
6305
|
* @param value the source svg
|