Commit ac04f480 authored by Muhammadali's avatar Muhammadali

update verison: 0.3.5

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