Component({ options: { addGlobalClass: true }, properties: { item: { type: Object }, onDelete: { type: Function }, isDelete: { type: Boolean } }, methods: { deleteItem() { this.triggerEvent("onDelete", this.data.item); } } })