Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bscheshirwork/yii-bootstrap-timepicker
https://github.com/bscheshirwork/yii-bootstrap-timepicker
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/bscheshirwork/yii-bootstrap-timepicker
- Owner: bscheshirwork
- License: mit
- Created: 2014-12-15T13:58:46.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-12-15T14:20:03.000Z (about 10 years ago)
- Last Synced: 2023-08-05T04:03:20.410Z (over 1 year ago)
- Language: PHP
- Size: 125 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
yii-bootstrap-timepicker
========================Yii wrapper for jdewit/bootstrap-timepicker
usage:
First, import the widget class file / Импортируем виджет:
```php
Yii::import('application.vendor.bscheshir.yii-bootstrap-timepicker.Timepicker', true);
```Next, call the widget / Вызываем виджет:
```php
$this->widget('Timepicker', [
'model' => $model,
'attribute' => 'TimeActual',
// some options, see more at / Немного опций, см. http://jdewit.github.io/bootstrap-timepicker/
'options' => [
'showMeridian'=>false,
'minuteStep'=>5,
'showInputs'=>false,
'disableFocus'=>true,
],
]);
```