maniakalen / widgets
来自 maniakalen 的 Yii2 小部件
1.1.12
2018-11-05 13:21 UTC
Requires
- php: >=5.4.0
- yiisoft/yii2: >=2.0.12
- yiisoft/yii2-bootstrap: *
README
PHP yii2 小部件
一组(目前较小)用于 yii2 UI 构建的 widgets
模态确认 Bootstrap 对话框
要调用模态确认对话框,使用
confirmModal({json config}).done(<done callback>).fail(<fail callback>);
可能的配置 json 参数有
- id - This one is mandatory
- title - optional - default: Confirm an action
- content - optional - default: Are you sure you want to proceed with this action?
- titleOk - optional - default: Yes
- titleCancel - optional - default: No