Class CJuiDraggable
CJuiDraggable displays a draggable widget.
CJuiDraggable encapsulates the JUI Draggable plugin.
To use this widget, you may insert the following code in a view:
$this->beginWidget('zii.widgets.jui.CJuiDraggable',array( // additional javascript options for the draggable plugin 'options'=>array( 'scope'=>'myScope', ), )); echo 'Your draggable content here'; $this->endWidget();
By configuring the CJuiWidget::$options
property, you may specify the options that
need to be passed to the JUI Draggable plugin. Please refer to the JUI Draggable API documentation for possible options (name-value pairs) and
JUI
Draggable page for general description and demo.
- CComponent
- CBaseController
- CWidget
- CJuiWidget
- CJuiDraggable
Package: zii\widgets\jui
Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Sebastian Thierer <sebathi@gmail.com>
Since: 1.1
Located at x2engine/framework/zii/widgets/jui/CJuiDraggable.php
Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Sebastian Thierer <sebathi@gmail.com>
Since: 1.1
Located at x2engine/framework/zii/widgets/jui/CJuiDraggable.php
public
|
|
public
|
getScriptFile(),
registerCoreScripts(),
registerScriptFile(),
resolvePackagePath(),
setScriptFile()
|
__construct(),
actions(),
getController(),
getId(),
getOwner(),
getViewFile(),
getViewPath(),
render(),
setId()
|
beginCache(),
beginClip(),
beginContent(),
beginWidget(),
createWidget(),
endCache(),
endClip(),
endContent(),
endWidget(),
renderFile(),
renderInternal(),
widget()
|
public
string
|
$tagName | 'div' |
#
the name of the Draggable element. Defaults to 'div'. |
$_scriptFile,
$cssFile,
$htmlOptions,
$options,
$scriptUrl,
$theme,
$themeUrl
|
$actionPrefix,
$skin
|
$controller,
$id,
$owner,
$viewPath
|