19 lines
518 B
Markdown
19 lines
518 B
Markdown
# wuwx-step-counter
|
|
|
|
### 使用方法
|
|
|
|
```
|
|
import * as StepCounter from '../../uni_modules/wuwx-step-counter'
|
|
|
|
StepCounter.startStepCountingUpdates({
|
|
handler: (numberOfSteps, timestamp, error) => {
|
|
console.log(numberOfSteps)
|
|
}
|
|
});
|
|
```
|
|
|
|
### 开发文档
|
|
[UTS 语法](https://uniapp.dcloud.net.cn/tutorial/syntax-uts.html)
|
|
[UTS API插件](https://uniapp.dcloud.net.cn/plugin/uts-plugin.html)
|
|
[UTS 组件插件](https://uniapp.dcloud.net.cn/plugin/uts-component.html)
|
|
[Hello UTS](https://gitcode.net/dcloud/hello-uts) |