Class yii\jui\Resizable
| Inheritance | yii\jui\Resizable » yii\jui\Widget » yii\base\Widget | 
|---|---|
| Available since version | 2.0 | 
Resizable renders an resizable jQuery UI widget.
For example:
Resizable::begin([
    'clientOptions' => [
        'grid' => [20, 10],
    ],
]);
echo 'Resizable contents here...';
Resizable::end();
See also http://api.jqueryui.com/resizable/.
Public Properties
| Property | Type | Description | Defined By | 
|---|---|---|---|
| $clientEvents | array | The event handlers for the underlying jQuery UI widget. | yii\jui\Widget | 
| $clientOptions | array | The options for the underlying jQuery UI widget. | yii\jui\Widget | 
| $options | array | The HTML attributes for the widget container tag. | yii\jui\Widget | 
Protected Properties
| Property | Type | Description | Defined By | 
|---|---|---|---|
| $clientEventMap | array | Event names mapped to what should be specified in `. | yii\jui\Resizable | 
Public Methods
| Method | Description | Defined By | 
|---|---|---|
| init() | Initializes the widget. | yii\jui\Resizable | 
| run() | Renders the widget. | yii\jui\Resizable | 
Protected Methods
| Method | Description | Defined By | 
|---|---|---|
| registerClientEvents() | Registers a specific jQuery UI widget events | yii\jui\Widget | 
| registerClientOptions() | Registers a specific jQuery UI widget options | yii\jui\Widget | 
| registerWidget() | Registers a specific jQuery UI widget asset bundle, initializes it with client options and registers related events | yii\jui\Widget | 
Property Details
Event names mapped to what should be specified in .on().
If empty, it is assumed that event passed to clientEvents is prefixed with widget name.
protected array $clientEventMap = ['create' => 'resizecreate', 'resize' => 'resize', 'start' => 'resizestart', 'stop' => 'resizestop']