You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
531 B
24 lines
531 B
"use strict";
|
|
Component({
|
|
properties: {
|
|
floatingList: {
|
|
type: Array,
|
|
value: []
|
|
}
|
|
},
|
|
data: {
|
|
singleComponent: ''
|
|
},
|
|
lifetimes: {
|
|
attached: function () {
|
|
console.log('floatingList attached');
|
|
var componentFrontId = this.data.floatingList[0].componentFrontId;
|
|
this.setData({
|
|
singleComponent: componentFrontId
|
|
});
|
|
},
|
|
detached: function () {
|
|
},
|
|
},
|
|
methods: {}
|
|
});
|
|
|