diff --git a/snapshots/master/demos/android/energy-monitor.apk b/snapshots/master/demos/android/energy-monitor.apk index eb7218e91..0ea2a785f 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/android/todo_lib.apk b/snapshots/master/demos/android/todo_lib.apk index fa5d8019c..dd4bcd4c6 100644 Binary files a/snapshots/master/demos/android/todo_lib.apk and b/snapshots/master/demos/android/todo_lib.apk differ diff --git a/snapshots/master/demos/android/weather_demo_lib.apk b/snapshots/master/demos/android/weather_demo_lib.apk index bb0ab4d5e..bd6dbb8c9 100644 Binary files a/snapshots/master/demos/android/weather_demo_lib.apk and b/snapshots/master/demos/android/weather_demo_lib.apk differ diff --git a/snapshots/master/demos/carousel/pkg/carousel_bg.wasm b/snapshots/master/demos/carousel/pkg/carousel_bg.wasm index 89129848d..deec4929d 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 8b71ac896..c42cb4973 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_wrapper7705 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3495, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper7704 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3494, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper7707 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3495, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper7706 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3494, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper7709 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3495, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper7708 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3494, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper7711 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3495, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper7710 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3494, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper7713 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3495, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper7712 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3494, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9208 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 3975, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9207 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 3974, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9210 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 3975, __wbg_adapter_40); + imports.wbg.__wbindgen_closure_wrapper9209 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 3974, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9212 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 3975, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9211 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 3974, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9214 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 3975, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9213 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 3974, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9219 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 3975, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9218 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 3974, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9223 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 3975, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9222 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 3974, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9232 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 3975, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9231 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 3974, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9236 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 3975, __wbg_adapter_53); + imports.wbg.__wbindgen_closure_wrapper9235 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 3974, __wbg_adapter_53); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9241 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 3975, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9240 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 3974, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9914 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 4053, __wbg_adapter_58); + imports.wbg.__wbindgen_closure_wrapper9913 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 4052, __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 691f57649..afe25fbbe 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 7233cab4c..d254bd3fa 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 623e70ee2..4450820cd 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 7742a9036..e14392149 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 d97e21979..cdc41c808 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 e85e74761..f52d0ad7c 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 42f18bf66..6c43c3688 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/opengl_underlay/pkg/opengl_underlay_bg.wasm b/snapshots/master/demos/opengl_underlay/pkg/opengl_underlay_bg.wasm index f01f2f3f7..42017ce77 100644 Binary files a/snapshots/master/demos/opengl_underlay/pkg/opengl_underlay_bg.wasm and b/snapshots/master/demos/opengl_underlay/pkg/opengl_underlay_bg.wasm differ diff --git a/snapshots/master/demos/plotter/pkg/plotter_bg.wasm b/snapshots/master/demos/plotter/pkg/plotter_bg.wasm index 02a12e2cd..7e7898652 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 fdb6fa0f6..b75953eb2 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 d3d0c0d18..29f1321dc 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 c51671f9a..b4f6a1842 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 1b76ccd1c..c4f22a643 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/weather_demo_lib_bg.wasm b/snapshots/master/demos/weather-demo/pkg/weather_demo_lib_bg.wasm index 8508644a9..d7d72d0e7 100644 Binary files a/snapshots/master/demos/weather-demo/pkg/weather_demo_lib_bg.wasm and b/snapshots/master/demos/weather-demo/pkg/weather_demo_lib_bg.wasm differ diff --git a/snapshots/master/docs/node/classes/ArrayModel.html b/snapshots/master/docs/node/classes/ArrayModel.html index 92136258c..1cf1272d5 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.