@livinglogic/livingapi 1.10.0 → 1.10.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livinglogic/livingapi",
3
- "version": "1.10.0",
3
+ "version": "1.10.1",
4
4
  "description": "Javascript version of the LivingAPI classes of LivingApps",
5
5
  "repository": {
6
6
  "type": "git",
package/src/livingapi.js CHANGED
@@ -1550,6 +1550,18 @@ export class Field extends Base
1550
1550
  this.writable = ul4._bool(value);
1551
1551
  else if (name === "required")
1552
1552
  this.required = ul4._bool(value);
1553
+ else if (name === "top")
1554
+ {
1555
+ if (value !== null && (typeof(value) !== "number"))
1556
+ throw new ul4.ArgumentError("top must be None or an int");
1557
+ this.top = value;
1558
+ }
1559
+ else if (name === "left")
1560
+ {
1561
+ if (value !== null && (typeof(value) !== "number"))
1562
+ throw new ul4.ArgumentError("left must be None or an int");
1563
+ this.left = value;
1564
+ }
1553
1565
  else
1554
1566
  super[ul4.symbols.setattr](name, value);
1555
1567
  }