aminkt / yii2-bootstrap-ajax-modal-widget
Bootstrap ajax modal widget
Installs: 38
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- yiisoft/yii2: ~2.0.11
This package is auto-updated.
Last update: 2024-11-13 23:54:15 UTC
README
How to install this module:
Step1: Add flowing line to require part of composer.json
:
"aminkt/yii2-bootstrap-ajax-modal-widget": "*",
And after that run bellow command in your composer :
Composer update aminkt/yii2-bootstrap-ajax-modal-widget
Step2: Add flowing lines in your application view file:
echo \aminkt\bootstrap\ajaxModal\AjaxModal::widget([ 'id'=>'bot-details-content', 'modalOptions'=>[ 'header'=>'<h4>نمایش اطلاعات ربات</h4>', 'id'=>'bot-details', 'size'=>'modal-lg', ] ]);