@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/CHANGELOG.md +6 -0
- package/README.md +1 -1
- package/dist/esm-node/livingapi.js +1 -1
- package/dist/esm-node/livingapi.js.map +1 -1
- package/dist/esm-npm/livingapi.js +1 -1
- package/dist/esm-npm/livingapi.js.map +1 -1
- package/dist/esm-static/livingapi.js +1 -1
- package/dist/esm-static/livingapi.js.map +1 -1
- package/dist/umd/livingapi.js +1 -1
- package/dist/umd/livingapi.js.map +1 -1
- package/package.json +1 -1
- package/src/livingapi.js +12 -0
package/package.json
CHANGED
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
|
}
|