marvicrm/youtube_autocomplete
Composer 安装命令:
composer create-project marvicrm/youtube_autocomplete
包简介
A very lightweight YouTube search autocomplete. No javascript library needed!
README 文档
README
A very lightweight YouTube search autocomplete. No javascript library needed!
This is not just a youtube autocomplete, it will also suggest any keywords available on google.
Screenshot
Basic Usage
<!-- Important file to include: CSS & JS file -->
<link rel="stylesheet" href="youtube_autocomplete.css" />
<script src="youtube_autocomplete.js"></script>
<!-- Calling the autocomplete -->
<script>
Youtube_AC.Init();
</script>
<!-- Then just put an id 'youtube_ac' into your search box -->
<input type="text" id="youtube_ac">
Optional Parameters
Youtube_AC.Init(limit,minchar);
Where:
limit = the number of max results on autocomplete. Default = 8
minchar = the number of min input characters needed in order to fire the autocomplete event. Default = 3
Installation
Composer:
- composer require "marvicrm/youtube_autocomplete":"dev-master"
Manual:
- Download the project as zip file, extract on your desired folder
Please run the demo.html for actual testing
统计信息
- 总下载量: 19
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-08-21