@azrico/webobject 1.2.9 → 1.2.11

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.
@@ -57,7 +57,13 @@ export declare class SimpleObject extends MapableObject {
57
57
  */
58
58
  apply_changes(): false | undefined;
59
59
  clear_changes(): void;
60
- static setReadonly(objs?: SimpleObject[] | SimpleObject, readonlyval?: boolean): void;
60
+ /**
61
+ * Sets readonly property on given objects
62
+ * @param objs array of given objects or a single object
63
+ * @param readonlyval readonly
64
+ * @param clearChanges should we clean the changes after setting readonly
65
+ */
66
+ static setReadonly(objs?: SimpleObject[] | SimpleObject, readonlyval?: boolean, clearChanges?: boolean): void;
61
67
  static setThrowErrors(objs?: SimpleObject[] | SimpleObject, throwErr?: boolean): void;
62
68
  get isChanged(): boolean;
63
69
  get isDeleted(): boolean;