deka6pb / yii2-widget-button_ajax
Yii 2 simple ajax button
Installs: 62
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
Type:yii2-widget
Requires
- yiisoft/yii2-bootstrap: @dev
This package is not auto-updated.
Last update: 2025-04-05 00:56:33 UTC
README
Description
Simple button in grid
For example:
ButtonWidget::widget([
'model' => $model,
'uniqueClass' => 'btn-send-link-to-telegram',
'btnClass' => 'btn-xs btn-primary',
'iconClass' => 'glyphicon-send',
'action' => '/users/send-link-with-telegram-hash',
'data' => '{"id": "' . $model->id . '"}',
])