Yii2-jui (The Jquery UI extension for the Yii framework)

Yii2-jui (The Jquery UI extension for the Yii framework)

yiisoft/yii2-jui

Александр Семенов Сергеевич

Установить

The Jquery UI extension for the Yii framework
Александр Семенов Сергеевич

The Jquery UI extension for the Yii framework

@разработчик решения

Время публикации: среда, 24 июня 2015 г. (3 года назад)

Добавил: Александр Семенов Сергеевич

Категория: Прочее

Актуальная версия: 2.1.x-dev
27 февр. 2018 г., 22:36:25 (6 месяцев назад)

Packagist: yiisoft/yii2-jui

: https://github.com/yiisoft/yii2-jui

: 1568446 (За месяц: 50871)

Тип: Компонент


Описание от «Александр Семенов Сергеевич»

The Jquery UI extension for the Yii framework

JUI Extension for Yii 2


This is the JQuery UI extension for Yii framework 2.0. It encapsulates JQuery UI widgets as Yii widgets, and makes using JQuery UI widgets in Yii applications extremely easy.

For license information check the LICENSE-file.

Documentation is at docs/guide/README.md.

Latest Stable Version Total Downloads Build Status

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist yiisoft/yii2-jui

or add

"yiisoft/yii2-jui": "~2.0.0"

to the require section of your composer.json file.

Usage

The following single line of code in a view file would render a JQuery UI DatePicker widget:

<?= yii\jui\DatePicker::widget(['name' => 'attributeName']) ?>

Configuring the Jquery UI options should be done using the clientOptions attribute:

<?= yii\jui\DatePicker::widget(['name' => 'attributeName', 'clientOptions' => ['defaultDate' => '2014-01-01']]) ?>

If you want to use the JUI widget in an ActiveForm, it can be done like this:

<?= $form->field($model,'attributeName')->widget(DatePicker::className(),['clientOptions' => ['defaultDate' => '2014-01-01']]) ?>

Yii Framework 2 jui extension Change Log

2.0.8 under development

  • no changes in this release.

2.0.7 November 25, 2017

  • Bug #45: Fixed missing close icon in yii\jui\Dialog (mtangoo)
  • Bug #46: yii\jui\Selectable add support for begin(), end() widget methods (fdezmc)
  • Enh #56: Use jQuery instead of $ in generated code to avoid conflicts (samdark)
  • Chg #55: yii\jui\AutoComplete::run() now returns output instead of echoing it (unlimix)
  • Chg #72: Updated jQueryUI dependency to use 1.12.1 as minimum version (samdark)

2.0.6 July 22, 2016

  • Bug #36: yii\jui\Draggable was using wrong event names (samdark)
  • Bug #41: yii\jui\Droppable and yii\jui\Resizable were using wrong event names (samdark)

2.0.5 March 17, 2016

  • Bug #8607: yii\jui\Spinner was using wrong event names (samdark)

2.0.4 May 10, 2015

  • Bug #6: When using DatePicker translations, asset was registered without timestamp when asset manager $appendTimestamp was enabled (samdark)
  • Bug (CVE-2015-3397): Using Json::htmlEncode() for safer JSON data encoding in HTML code (samdark, Tomasz Tokarski)

2.0.3 March 01, 2015

  • Enh #7127: name or model and attribute are no longer required properties of yii\jui\InputWidget (nirvana-msu, cebe)

2.0.2 January 11, 2015

  • Enh #6570: Datepicker now uses fallback to find language files, e.g. application language is de-DE and the translation files does not exists, it will use de instead (cebe)
  • Enh #6471: Datepicker will now show an empty field when value is an empty string (cebe)

2.0.1 December 07, 2014

  • no changes in this release.

2.0.0 October 12, 2014

  • no changes in this release.

2.0.0-rc September 27, 2014

  • Chg #1551: Jui datepicker has a new property $dateFormat which is used to set the clientOption dateFormat. The new property does not use the datepicker formatting syntax anymore but uses the same as the yii\i18n\Formatter class which is the ICU syntax for date formatting, you have to adjust all your DatePicker widgets to use the new property instead of setting the dateFormat in the clientOptions (cebe)

2.0.0-beta April 13, 2014

  • Bug #1550: fixed the issue that JUI input widgets did not property input IDs. (qiangxue)
  • Bug #2514: Jui sortable clientEvents were not working because of wrong naming assumptions. (cebe)
  • Enh #2573: Jui datepicker now uses the current application language by default. (andy5)

2.0.0-alpha, December 1, 2013

  • Initial release.

Все комментарии (0)
Нет комментариев

dev-master — 18 сент. 2018 г., 16:26:35 (6 дней назад)

2.1.x-dev — 27 февр. 2018 г., 22:36:25 (6 месяцев назад)

dev-normalize-language-for-asset — 17 апр. 2015 г., 13:27:42 (3 года назад)

2.0.7 — 25 нояб. 2017 г., 18:32:29 (9 месяцев назад)

2.0.6 — 23 июля 2016 г., 1:26:59 (2 года назад)

2.0.5 — 17 марта 2016 г., 6:53:41 (2 года назад)

2.0.4 — 11 мая 2015 г., 1:09:43 (3 года назад)

2.0.3 — 01 марта 2015 г., 9:22:44 (3 года назад)

2.0.2 — 11 янв. 2015 г., 6:57:55 (3 года назад)

2.0.1 — 07 дек. 2014 г., 19:42:41 (3 года назад)

2.0.0 — 12 окт. 2014 г., 21:09:06 (3 года назад)

2.0.0-rc — 28 сент. 2014 г., 5:59:54 (3 года назад)

2.0.0-beta — 14 апр. 2014 г., 1:58:59 (4 года назад)

2.0.0-alpha — 25 нояб. 2013 г., 5:31:23 (4 года назад)

Стандартная установка:

Добавьте composer.json файл вашего проекта:

"yiisoft/yii2-jui": "*"

Запустите обновление зависимостей


Читать про обнолвение SkeekS CMS