triple.js
518 Bytes
Component({
properties: {
data: {
type: Array,
value: []
},
properties: {
type: Object,
value: {}
},
// use for floors' click report
floorId: {
type: String,
value: ''
},
floorName: {
type: String,
value: ''
},
floorIndex: {
type: String, // start from 1
value: ''
}
},
methods: {
// use for floors' click report
report: function(e) {
this.triggerEvent('clickreport', e.detail);
}
}
});