Commit ac04f480 authored by Muhammadali's avatar Muhammadali

update verison: 0.3.5

parent d47e39ab
{
"name": "boxdialer",
"version": "0.3.4",
"version": "0.3.5",
"description": "",
"main": "src/boxDialer.js",
"scripts": {
......
......@@ -366,18 +366,18 @@ export class BoxDialer {
},
],
events: {
"_Item:onSelect": (event) => {
'_Item:onSelect': (event) => {
const { item } = event.getData();
const dialog = event.getTarget();
const selectedItems = dialog.getSelectedItems();
item.customData.forEach((v) => console.log(v));
item.customData.forEach((v, key) => console.log(v, key));
// console.log(item.customData, 'select item');
},
get "Item:onSelect"() {
return this["_Item:onSelect"];
get 'Item:onSelect'() {
return this['_Item:onSelect'];
},
set "Item:onSelect"(value) {
this["_Item:onSelect"] = value;
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