maniakalen/widgets

Yii2 widgets from maniakalen

1.1.12 2018-11-05 13:21 UTC

This package is auto-updated.

Last update: 2024-10-18 07:47:22 UTC


README

PHP yii2 widgets

A small (at the moment) set of widgets for yii2 UI build

Modal confirm Bootstrap dialog

To invoke the modal confirm dialog use:

confirmModal({json config}).done(<done callback>).fail(<fail callback>);

possible config json params are:

- 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