@base-framework/base 3.7.31 → 3.7.32
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.
|
@@ -60,6 +60,18 @@ export class Component extends Unit {
|
|
|
60
60
|
id: string;
|
|
61
61
|
}): void;
|
|
62
62
|
stateHelper: any;
|
|
63
|
+
/**
|
|
64
|
+
* This will resume the data by using the fresh data
|
|
65
|
+
* instance from setData() and merging any persisted
|
|
66
|
+
* state into it. This preserves closure references
|
|
67
|
+
* (e.g. from atoms with { data: localVar }) while
|
|
68
|
+
* restoring persisted user state.
|
|
69
|
+
*
|
|
70
|
+
* @protected
|
|
71
|
+
* @param {object|null} persistedData
|
|
72
|
+
* @returns {void}
|
|
73
|
+
*/
|
|
74
|
+
protected _resumeData(persistedData: object | null): void;
|
|
63
75
|
/**
|
|
64
76
|
* This will refresh the persisted data with fresh
|
|
65
77
|
* prop-derived values from setData().
|