diff --git a/snapshots/master/demos/android/energy-monitor.apk b/snapshots/master/demos/android/energy-monitor.apk index cb746d460..f53ea527a 100644 Binary files a/snapshots/master/demos/android/energy-monitor.apk and b/snapshots/master/demos/android/energy-monitor.apk differ diff --git a/snapshots/master/demos/carousel/pkg/carousel_bg.wasm b/snapshots/master/demos/carousel/pkg/carousel_bg.wasm index 0635382c0..f44eafb63 100644 Binary files a/snapshots/master/demos/carousel/pkg/carousel_bg.wasm and b/snapshots/master/demos/carousel/pkg/carousel_bg.wasm differ diff --git a/snapshots/master/demos/energy-monitor/pkg/energy_monitor.js b/snapshots/master/demos/energy-monitor/pkg/energy_monitor.js index 2fb342ba5..e631beced 100644 --- a/snapshots/master/demos/energy-monitor/pkg/energy_monitor.js +++ b/snapshots/master/demos/energy-monitor/pkg/energy_monitor.js @@ -1665,64 +1665,64 @@ function __wbg_get_imports() { const ret = wasm.memory; return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper7955 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3584, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper7956 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3585, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper7957 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3584, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper7958 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3585, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper7959 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3584, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper7960 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3585, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper7961 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3584, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper7962 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3585, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper7963 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3584, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper7964 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3585, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9248 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 4039, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9249 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 4040, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9250 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 4039, __wbg_adapter_40); + imports.wbg.__wbindgen_closure_wrapper9251 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 4040, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9252 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 4039, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9253 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 4040, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9256 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 4039, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9257 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 4040, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9265 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 4039, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9266 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 4040, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9269 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 4039, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9270 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 4040, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9272 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 4039, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9273 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 4040, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9274 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 4039, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9275 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 4040, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9282 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 4039, __wbg_adapter_55); + imports.wbg.__wbindgen_closure_wrapper9283 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 4040, __wbg_adapter_55); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9977 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 4129, __wbg_adapter_58); + imports.wbg.__wbindgen_closure_wrapper9978 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 4130, __wbg_adapter_58); return addHeapObject(ret); }; diff --git a/snapshots/master/demos/energy-monitor/pkg/energy_monitor_bg.wasm b/snapshots/master/demos/energy-monitor/pkg/energy_monitor_bg.wasm index 8517f9cd7..9925c8239 100644 Binary files a/snapshots/master/demos/energy-monitor/pkg/energy_monitor_bg.wasm and b/snapshots/master/demos/energy-monitor/pkg/energy_monitor_bg.wasm differ diff --git a/snapshots/master/demos/gallery/pkg/cosmic/gallery_bg.wasm b/snapshots/master/demos/gallery/pkg/cosmic/gallery_bg.wasm index 61f000801..c98be841a 100644 Binary files a/snapshots/master/demos/gallery/pkg/cosmic/gallery_bg.wasm and b/snapshots/master/demos/gallery/pkg/cosmic/gallery_bg.wasm differ diff --git a/snapshots/master/demos/gallery/pkg/cupertino/gallery_bg.wasm b/snapshots/master/demos/gallery/pkg/cupertino/gallery_bg.wasm index e32413834..9d79198d4 100644 Binary files a/snapshots/master/demos/gallery/pkg/cupertino/gallery_bg.wasm and b/snapshots/master/demos/gallery/pkg/cupertino/gallery_bg.wasm differ diff --git a/snapshots/master/demos/gallery/pkg/fluent/gallery_bg.wasm b/snapshots/master/demos/gallery/pkg/fluent/gallery_bg.wasm index 36d68018c..7fae05355 100644 Binary files a/snapshots/master/demos/gallery/pkg/fluent/gallery_bg.wasm and b/snapshots/master/demos/gallery/pkg/fluent/gallery_bg.wasm differ diff --git a/snapshots/master/demos/gallery/pkg/material/gallery_bg.wasm b/snapshots/master/demos/gallery/pkg/material/gallery_bg.wasm index 715880804..54e81b0f2 100644 Binary files a/snapshots/master/demos/gallery/pkg/material/gallery_bg.wasm and b/snapshots/master/demos/gallery/pkg/material/gallery_bg.wasm differ diff --git a/snapshots/master/demos/imagefilter/pkg/imagefilter_bg.wasm b/snapshots/master/demos/imagefilter/pkg/imagefilter_bg.wasm index 155cd0481..788238de4 100644 Binary files a/snapshots/master/demos/imagefilter/pkg/imagefilter_bg.wasm and b/snapshots/master/demos/imagefilter/pkg/imagefilter_bg.wasm differ diff --git a/snapshots/master/demos/memory/pkg/memory_bg.wasm b/snapshots/master/demos/memory/pkg/memory_bg.wasm index f299f7c6e..bc60b53cd 100644 Binary files a/snapshots/master/demos/memory/pkg/memory_bg.wasm and b/snapshots/master/demos/memory/pkg/memory_bg.wasm differ diff --git a/snapshots/master/demos/plotter/pkg/plotter_bg.wasm b/snapshots/master/demos/plotter/pkg/plotter_bg.wasm index 574b14dc2..c1ad4e7d1 100644 Binary files a/snapshots/master/demos/plotter/pkg/plotter_bg.wasm and b/snapshots/master/demos/plotter/pkg/plotter_bg.wasm differ diff --git a/snapshots/master/demos/printerdemo/pkg/printerdemo_lib_bg.wasm b/snapshots/master/demos/printerdemo/pkg/printerdemo_lib_bg.wasm index 7aa713055..5eb089f0d 100644 Binary files a/snapshots/master/demos/printerdemo/pkg/printerdemo_lib_bg.wasm and b/snapshots/master/demos/printerdemo/pkg/printerdemo_lib_bg.wasm differ diff --git a/snapshots/master/demos/printerdemo_old/pkg/printerdemo_old_bg.wasm b/snapshots/master/demos/printerdemo_old/pkg/printerdemo_old_bg.wasm index 5db549358..063aa5fe3 100644 Binary files a/snapshots/master/demos/printerdemo_old/pkg/printerdemo_old_bg.wasm and b/snapshots/master/demos/printerdemo_old/pkg/printerdemo_old_bg.wasm differ diff --git a/snapshots/master/demos/slide_puzzle/pkg/slide_puzzle_bg.wasm b/snapshots/master/demos/slide_puzzle/pkg/slide_puzzle_bg.wasm index a3bb063f2..8be478de5 100644 Binary files a/snapshots/master/demos/slide_puzzle/pkg/slide_puzzle_bg.wasm and b/snapshots/master/demos/slide_puzzle/pkg/slide_puzzle_bg.wasm differ diff --git a/snapshots/master/demos/todo/pkg/todo_lib_bg.wasm b/snapshots/master/demos/todo/pkg/todo_lib_bg.wasm index 8d1eb251d..a823e9ef4 100644 Binary files a/snapshots/master/demos/todo/pkg/todo_lib_bg.wasm and b/snapshots/master/demos/todo/pkg/todo_lib_bg.wasm differ diff --git a/snapshots/master/demos/weather-demo/pkg/rusty_weather_lib_bg.wasm b/snapshots/master/demos/weather-demo/pkg/rusty_weather_lib_bg.wasm index 33666936b..c479dd005 100644 Binary files a/snapshots/master/demos/weather-demo/pkg/rusty_weather_lib_bg.wasm and b/snapshots/master/demos/weather-demo/pkg/rusty_weather_lib_bg.wasm differ diff --git a/snapshots/master/docs/node/classes/ArrayModel.html b/snapshots/master/docs/node/classes/ArrayModel.html index 975e3add8..2255a0173 100644 --- a/snapshots/master/docs/node/classes/ArrayModel.html +++ b/snapshots/master/docs/node/classes/ArrayModel.html @@ -1,6 +1,6 @@
Creates a new ArrayModel.
-Returns the number of entries in the array model.
-Protected
notifyProtected
notifyNotifies the view that multiple rows are added to the model.
+Returns the number of entries in the array model.
+Protected
notifyProtected
notifyProtected
notifyProtected
notifyProtected
notifyProtected
notifyRemoves the last element from the array and returns it.
+Pushes new values to the array that's backing the model and notifies +
Pushes new values to the array that's backing the model and notifies the run-time about the added rows.
Rest
...values: T[]list of values that will be pushed to the array.
-Returns the data at the specified row.
+Stores the given data on the given row index and notifies run-time about the changed row.
+Stores the given data on the given row index and notifies run-time about the changed row.
index in range 0..(rowCount() - 1).
new data item to store on the given row index
-
ArrayModel wraps a JavaScript array for use in
-.slint
views. The underlying array can be modified with the [[ArrayModel.push]] and [[ArrayModel.remove]] methods.