Web components changes

Modifications to consider when using web components.

fglsvgcanvas: STRING-typed parameters

Starting with BDL 4.01.03 / WCG 4.01.02, the fglsvgcanvas API functions to create SVG elements take now STRING-typed parameters for coordinates and sizes. Before this change, the functions were defined with DECIMAL parameters, and could not take arguments as percentage, with units or as list of values. With STRING parameters it is now possible to do the following:
LET t1 = fglsvgcanvas.text("50%","70%","abcd",NULL)
LET t1 = fglsvgcanvas.text("10,20,30,40","20,22,24,26","abcd",NULL)

For a complete definition of fglsvgcanvas functions, see fglsvgcanvas: SVG drawing module.

Changes in earlier versions

Make sure to check the upgrade notes of earlier versions, to not miss changes introduced in maintenance releases. For more details, see Web component changes in BDL 4.00.

Notable changes introduced in maintenance releases:
  • No particular change to consider.