在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):kuhnza/angular-google-places-autocomplete开源软件地址(OpenSource Url):https://github.com/kuhnza/angular-google-places-autocomplete开源编程语言(OpenSource Language):JavaScript 71.6%开源软件介绍(OpenSource Introduction):WARNING: This library is deprecated Unfortunately I no longer have the need, time or desire to maintain this lib. That said, if anyone wishes to take it on please let me know. angular-google-places-autocompleteAngular directive for the Google Places Autocomplete component. InstallationInstall via bower: Or if you're old skool, copy Then add the script to your page (be sure to include the Google Places API as well): <script src="https://maps.googleapis.com/maps/api/js?libraries=places"></script>
<script src="/bower_components/angular-google-places-autocomplete/src/autocomplete.js"></script> You'll probably also want the styles: <link rel="stylesheet" href="/bower_components/angular-google-places-autocomplete/src/autocomplete.css"> UsageFirst add the dependency to your app: angular.module('myApp', ['google.places']); Then you can use the directive on text inputs like so: <input type="text" g-places-autocomplete ng-model="myScopeVar" /> The directive also supports the following optional attributes:
ExamplesIssues or feature requestsCreate a ticket here ContributingIssue a pull request including any relevant testing and updated any documentation if required. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论