open-index/open-npm huggingface dataset:
npm package: @lly0414/react-native-amap-geolocation
Description: React Native geolocation module for Android + iOS
Author: lly0414
Latest version: 1.0.0

# react-native-amap-geolocation [![][version-badge]][npm] [![][build-badge]][build]

React Native 高德地图定位模块，支持 Android + iOS，提供尽可能完善的原生接口，
同时提供符合 Web 标准的 Geolocation API。

<img src="https://user-images.githubusercontent.com/1709072/57276743-12f67f00-70d5-11e9-9fe9-94e37abc1e0b.png" width=360>

## 用法

```javascript
import { PermissionsAndroid } from "react-native";
import { init, Geolocation } from "react-native-amap-geolocation";

await PermissionsAndroid.requestMultiple([
  PermissionsAndroid.PERMISSIONS.ACCESS_FINE_LOCATION,
  PermissionsAndroid.PERMISSIONS.ACCESS_COARSE_LOCATION,
]);

await init({
  ios: "9bd6c82e77583020a73ef1af59d0c759",
  android: "043b24fe18785f33c491705ffe5b6935",
});

Geolocation.getCurrentPosition(({ coords }) => {
  console.log(coords);
});
```

## 文档

- [使用指南](https://qiuxiang.github.io/react-native-amap-geolocation)
- [接口文档](https://qiuxiang.github.io/react-native-amap-geolocation/api/globals.html)

[npm]: https://www.npmjs.com/package/react-native-amap-geolocation
[version-badge]: https://badge.fury.io/js/react-native-amap-geolocation.svg
[build-badge]: https://travis-ci.org/qiuxiang/react-native-amap-geolocation.svg?branch=master
[build]: https://travis-ci.org/qiuxiang/react-native-amap-geolocation
npm package: @llyk/vue-long-list
Description: A vue comonetent that renders a long list.
Author: llyk email:kxq163emaile@163.com
Latest version: 1.0.1

## long-list

> A vue comonetent that renders a long list.

## Example
---

```
// npm i @llyk/vue-long-list

<template>
  <div class="hello">
    <long-list
      ref="longlist"
      :dataList="list"  // 需要遍历的数组
      :itemHeight="18"  // 每条数据的高度，默认30
      :showNum="10"     // 显示数据条数
      :hasIndex="true"  // 若遍历的数组对象内含有__index属性，请添加这个属性，否则将被替换 默认值： false
    >
      <template v-slot="{ row }">
        <div >{{ row.name }}</div>
      </template>
    </long-list>
  </div>
</template>
import LongList from '@llyk/vue-long-list';
export default {
  name: "HelloWorld",
  components: {
    LongList,
  },
  methods: {
    add() {
      this.list.push({
        name: (Math.random() * 100).toString(),
      });
      this.$refs.longlist.setRate(this.list.length);  // 显示最后一个数据
    },
  }
}

```