Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bscheshirwork/yii-arctic-modal
https://github.com/bscheshirwork/yii-arctic-modal
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/bscheshirwork/yii-arctic-modal
- Owner: bscheshirwork
- License: mit
- Created: 2015-08-12T12:51:28.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-12T12:52:19.000Z (over 9 years ago)
- Last Synced: 2023-08-05T04:03:19.897Z (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 vjik/arctic-modal
usage:
First, import the widget class file / Импортируем виджет:
```php
Yii::import('application.vendor.bscheshir.yii-arctic-modal.Modal', true);
```Next, call the widget / Вызываем виджет:
```php
$this->widget('Modal', [
'model' => $model,
'attribute' => 'TimeActual',
// some options, see more at / Немного опций, см. http://arcticlab.ru/arcticmodal/#docs
'options' => [
'disableFocus'=>true,
'overlay'=>[
'css': [
'backgroundColor' => '#fff',
'backgroundImage' => 'url(images/overlay.png)',
'backgroundRepeat' => 'repeat',
'backgroundPosition' => '50% 0',
'opacity' => 0.75
]
]
],
]);
```