Use of map() javascript in qml
Unsolved
QML and Qt Quick
-
wrote on 8 Aug 2023, 05:27 last edited by
I am trying to create a list which has a key and value (i.e key has name and value has phone number) , so when delegate is selected corresponding name and phone value will be appended in the list. So I plan to use to map() function in javascript instead of the list here. Is it possible to use that, if so, can you show me an example of it in qml?
1/1