We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c51914a commit 8e3a4beCopy full SHA for 8e3a4be
1 file changed
multilingualprogramming/codegen/ui_lowering.py
@@ -252,6 +252,15 @@ class ReactiveSignal {
252
handler(value);
253
}
254
255
+ setIndex(index, value) {
256
+ if (this._value == null || typeof this._value !== 'object') {
257
+ this._value = {};
258
+ }
259
+ this._value[index] = value;
260
+ for (const handler of this._handlers) {
261
+ handler(this._value);
262
263
264
on_change(handler) {
265
this._handlers.push(handler);
266
0 commit comments