```
2、给组件绑定以下参数:
```
props: {
//后台返回的小球信息
ballList: {
default: [10, 11, 12, 13, 14],
},
// 收集能量动画结束的X坐标
collDestinationX: {
default: 0
},
// 收集能量动画结束的Y坐标
collDestinationY: {
default: 600
}
},
```
3、接收小球的点击事件:
```
onBallClick(info) {
console.info('xwg parent onBallClick item = ' + JSON.stringify(info.detail));
},
```
## 版本迭代
0.0.1-SNAPSHOT
## 测试信息
CodeCheck代码测试无异常
CloudTest代码测试无异常
病毒安全检测通过
当前版本demo功能与原组件基本无差异
## 版权和许可信息
Copyright (C) 2016 xhb_199409@163.com
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.