diff --git a/snapshots/master/demos/android/energy-monitor.apk b/snapshots/master/demos/android/energy-monitor.apk index 5127c7b60..0354767b0 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 7bfe3886d..fdcb631be 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 5afb7bf4a..aab5bdb89 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 7d2f75c49..15805c23f 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 bff29206a..b0882de4d 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_wrapper7706 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3495, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper7705 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3494, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper7708 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3495, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper7707 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3494, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper7710 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3495, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper7709 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3494, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper7712 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3495, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper7711 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3494, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper7714 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3495, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper7713 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3494, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9209 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 3975, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9208 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 3974, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9211 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 3975, __wbg_adapter_40); + imports.wbg.__wbindgen_closure_wrapper9210 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 3974, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9213 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 3975, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9212 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 3974, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9215 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 3975, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9214 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 3974, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9220 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 3975, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9219 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 3974, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9224 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 3975, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9223 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 3974, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9233 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 3975, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9232 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 3974, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9237 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 3975, __wbg_adapter_53); + imports.wbg.__wbindgen_closure_wrapper9236 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 3974, __wbg_adapter_53); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9242 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 3975, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9241 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 3974, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9915 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 4053, __wbg_adapter_58); + imports.wbg.__wbindgen_closure_wrapper9914 = 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 72d12da60..e5622f5fc 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 8690bfc83..67c042e7c 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 d02b62bd0..ae7b446f1 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 7e7cd2471..ab643b79a 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 f9e49d77d..2718344aa 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 204d48c47..c97a069ab 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 56df81be0..086ae4592 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 221e831e6..c119a5302 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 708004892..d15429163 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 c0cbc7878..e36db4bdf 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 ec62d54cf..cb0340367 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 b3385e4a5..1185bdb50 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 2d84b8d27..a180fbf4e 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 d30380ef9..ed1d7ac40 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/cpp/api/library_root.html b/snapshots/master/docs/cpp/api/library_root.html index 782d59239..0c962632b 100644 --- a/snapshots/master/docs/cpp/api/library_root.html +++ b/snapshots/master/docs/cpp/api/library_root.html @@ -423,7 +423,7 @@
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.