simialbi/yii2-widget-hideseek 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

simialbi/yii2-widget-hideseek

最新稳定版本:1.4.0

Composer 安装命令:

composer require simialbi/yii2-widget-hideseek

包简介

yii2 widget of Dimitris Krestos' hideseek plugin

README 文档

README

This extension provides a hideseek search widget for yii2 framework in bootstrap style. It's based on HideSeek from Dimitris Krestos.

Resources

Installation

The preferred way to install this extension is through composer.

Either run

$ php composer.phar require --prefer-dist simialbi/yii2-widget-hideseek

or add

"simialbi/yii2-widget-hideseek": "*"

to the require section of your composer.json

Example Usage

To include hideseek search in one of your pages, call the widget like this:

<?php
/* @var $this yii\web\View */

use simialbi\yii2\hideseek\HideSeek;

$this->title = 'myForm';
$this->params['breadcrumbs'][] = $this->title;

?>
<article>
	<label for="search">Programming Language Popularity</label>
	<?=HideSeek::widget([
		'fieldTemplate' => '<div class="search-field">{input}</div>',
		'options' => [
			'placeholder' => 'Start typing here',
			'autocomplete' => 'off'
		],
		'clientOptions' => [
			'.default_list'
		]
	]);
	?>
	<ul class="vertical default_list">
		<li>C</li>
		<li>Java</li>
		<li>PHP</li>
		<li>JavaScript</li>
		<li>C++</li>
		<li>Python</li>
		<li>Shell</li>
		<li>Ruby</li>
		<li>Objective C</li>
		<li>C#</li>
	</ul>
  </article>

License

yii2-widget-hideseek is released under MIT license. See bundled LICENSE for details.

统计信息

  • 总下载量: 3.4k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 4
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 2
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-12-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固