Commit d47e39ab authored by Muhammadali's avatar Muhammadali

update

parent 952cd533
{
"name": "boxdialer",
"version": "0.3.3",
"version": "0.3.4",
"description": "",
"main": "src/boxDialer.js",
"scripts": {
......
......@@ -366,11 +366,18 @@ export class BoxDialer {
},
],
events: {
'Item:onSelect': (event) => {
"_Item:onSelect": (event) => {
const { item } = event.getData();
const dialog = event.getTarget();
const selectedItems = dialog.getSelectedItems();
console.log(item.customData.ufPhoneInner, 'select item', item);
item.customData.forEach((v) => console.log(v));
// console.log(item.customData, 'select item');
},
get "Item:onSelect"() {
return this["_Item:onSelect"];
},
set "Item:onSelect"(value) {
this["_Item:onSelect"] = value;
},
},
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment