Class \Prado\Web\UI\JuiControls\TJuiDraggable
TJuiDraggable class.
TJuiDraggable is an extension to TActivePanel based on jQuery-UI's Draggable interaction. The panel can be moved using the mouse, and eventually dropped over a TJuiDroppable.
<com:TJuiDraggable
ID="drag1"
Style="border: 1px solid red; width:100px;height:100px"
Options.Axis="y"
OnStop="drag1_dragged"
>
drag me
</com:TJuiDraggable>
Class hierarchy
- \Prado\Web\UI\JuiControls\TJuiDraggable implements IJuiOptions, ICallbackEventHandler
- \Prado\Web\UI\ActiveControls\TActivePanel implements IActiveControl
- \Prado\Web\UI\WebControls\TPanel
- \Prado\Web\UI\WebControls\TWebControl implements IStyleable
- \Prado\Web\UI\TControl implements IRenderable, IBindable
- \Prado\TApplicationComponent
- \Prado\TComponent
Since: 3.3
public
|
__construct() : mixed
Creates a new callback control, sets the adapter to
TActiveControlAdapter. If you override this class, be sure to set the
adapter appropriately by, for example, by calling this constructor.
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
raiseCallbackEvent(TCallbackEventParameter $param) : mixed
Raises callback event. This method is required by the {@see \Prado\Web\UI\ActiveControls\ICallbackEventHandler}
interface.
|
protected
|
addAttributesToRender(mixed $writer) : mixed
Ensure that the ID attribute is rendered and registers the javascript code
for initializing the active control.
|
protected
|