useDOM static method
This static function sets whether or not GoJS should use a DOM, if one exists.
This can be set to false
to simulate a DOM-less environment.
It is uncommon to set this, but may be required in some testing environments.
Implementation
static void useDOM(_i2.bool value) {
_i4.callMethod(
_declaredDiagram,
'useDOM',
[value],
);
}