documentationfor yFiles for HTML 2.6

Workarounds

This object is a container for all workarounds introduced for different environments.

Inheritance Hierarchy
Workarounds

Remarks

When ES modules are used, it can be imported like this:

import { Workarounds } from 'yfiles';

Workarounds.cr320635 = true;

In an environment without ES2015, workarounds can alternatively be activated like before:

yfiles.workaroundCR320635 = true;

or using this container type:

yfiles.Workarounds.cr320635 = true;

Type Details

yfiles module
core
yfiles-umd modules
All modules
Legacy UMD name
yfiles.lang.Workarounds

See Also

Our demos enable some workarounds in the demos/utils/Workarounds.js file already. If you use yFiles for HTML in production without the demo classes, you should enable these workarounds in your own code if your application is affected by the corresponding issues.

Default Properties