phpMv -UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
|
Public Member Functions | |
_add_event ($element, $js, $event, $preventDefault=false, $stopPropagation=false, $immediatly=true, $listenerOn=false) | |
blur ($element='this', $js='', $preventDefault=false, $stopPropagation=false, $listenerOn=false) | |
Outputs a javascript library blur event. | |
change ($element='this', $js='', $preventDefault=false, $stopPropagation=false, $listenerOn=false) | |
Outputs a javascript library change event. | |
click ($element='this', $js='', $ret_false=TRUE, $preventDefault=false, $stopPropagation=false, $listenerOn=false) | |
Outputs a javascript library click event. | |
contextmenu ($element='this', $js='', $preventDefault=false, $stopPropagation=false, $listenerOn=false) | |
Outputs a javascript library contextmenu event. | |
dblclick ($element='this', $js='', $preventDefault=false, $stopPropagation=false, $listenerOn=false) | |
Outputs a javascript library dblclick event. | |
error ($element='this', $js='') | |
Outputs a javascript library error event. | |
focus ($element='this', $js='', $preventDefault=false, $stopPropagation=false, $listenerOn=false) | |
Outputs a javascript library focus event. | |
hover ($element='this', $over='', $out='') | |
Outputs a javascript library hover event. | |
keydown ($element='this', $js='', $preventDefault=false, $stopPropagation=false, $listenerOn=false) | |
Outputs a javascript library keydown event. | |
keypress ($element='this', $js='', $preventDefault=false, $stopPropagation=false, $listenerOn=false) | |
Outputs a javascript library keypress event. | |
keyup ($element='this', $js='', $preventDefault=false, $stopPropagation=false, $listenerOn=false) | |
Outputs a javascript library keydown event. | |
load ($element='this', $js='', $preventDefault=false, $stopPropagation=false, $listenerOn=false) | |
Outputs a javascript library load event. | |
mousedown ($element='this', $js='', $preventDefault=false, $stopPropagation=false, $listenerOn=false) | |
Outputs a javascript library mousedown event. | |
mouseout ($element='this', $js='', $preventDefault=false, $stopPropagation=false, $listenerOn=false) | |
Outputs a javascript library mouseout event. | |
mouseleave ($element='this', $js='', $preventDefault=false, $stopPropagation=false, $listenerOn=false) | |
Outputs a javascript library mouseleave event. | |
mouseenter ($element='this', $js='', $preventDefault=false, $stopPropagation=false, $listenerOn=false) | |
Outputs a javascript library mouseenter event. | |
mouseover ($element='this', $js='', $preventDefault=false, $stopPropagation=false, $listenerOn=false) | |
Outputs a javascript library mouseover event. | |
mouseup ($element='this', $js='', $preventDefault=false, $stopPropagation=false, $listenerOn=false) | |
Outputs a javascript library mouseup event. | |
unload ($element='this', $js='', $preventDefault=false, $stopPropagation=false, $listenerOn=false) | |
Outputs a javascript library unload event. | |
resize ($element='this', $js='', $preventDefault=false, $stopPropagation=false, $listenerOn=false) | |
Outputs a javascript library resize event. | |
scroll ($element='this', $js='', $preventDefault=false, $stopPropagation=false, $listenerOn=false) | |
Outputs a javascript library scroll event. | |
Protected Attributes | |
$jquery_events | |
Definition at line 12 of file JsUtilsEventsTrait.php.
|
abstract |
Reimplemented in JsUtils.
blur | ( | $element = 'this' , |
|
$js = '' , |
|||
$preventDefault = false , |
|||
$stopPropagation = false , |
|||
$listenerOn = false |
|||
) |
Outputs a javascript library blur event.
string | $element | element to attach the event to |
string | $js | code to execute |
Definition at line 65 of file JsUtilsEventsTrait.php.
change | ( | $element = 'this' , |
|
$js = '' , |
|||
$preventDefault = false , |
|||
$stopPropagation = false , |
|||
$listenerOn = false |
|||
) |
Outputs a javascript library change event.
string | $element | element to attach the event to |
string | $js | code to execute |
boolean | $preventDefault | |
boolean | $stopPropagation | |
boolean | string | $listenerOn | use a selector for a delegated event handler |
Definition at line 81 of file JsUtilsEventsTrait.php.
click | ( | $element = 'this' , |
|
$js = '' , |
|||
$ret_false = TRUE , |
|||
$preventDefault = false , |
|||
$stopPropagation = false , |
|||
$listenerOn = false |
|||
) |
Outputs a javascript library click event.
string | $element | element to attach the event to |
string | array | $js | code to execute |
boolean | $ret_false | or not to return false |
boolean | $preventDefault | |
boolean | $stopPropagation | |
boolean | string | $listenerOn | use a selector for a delegated event handler |
Definition at line 99 of file JsUtilsEventsTrait.php.
contextmenu | ( | $element = 'this' , |
|
$js = '' , |
|||
$preventDefault = false , |
|||
$stopPropagation = false , |
|||
$listenerOn = false |
|||
) |
Outputs a javascript library contextmenu event.
string | $element | element to attach the event to |
string | $js | code to execute |
boolean | $preventDefault | |
boolean | $stopPropagation | |
boolean | string | $listenerOn | use a selector for a delegated event handler |
Definition at line 125 of file JsUtilsEventsTrait.php.
dblclick | ( | $element = 'this' , |
|
$js = '' , |
|||
$preventDefault = false , |
|||
$stopPropagation = false , |
|||
$listenerOn = false |
|||
) |
Outputs a javascript library dblclick event.
string | $element | element to attach the event to |
string | $js | code to execute |
boolean | $preventDefault | |
boolean | $stopPropagation | |
boolean | string | $listenerOn | use a selector for a delegated event handler |
Definition at line 141 of file JsUtilsEventsTrait.php.
error | ( | $element = 'this' , |
|
$js = '' |
|||
) |
Outputs a javascript library error event.
string | $element | element to attach the event to |
string | $js | code to execute |
Definition at line 154 of file JsUtilsEventsTrait.php.
focus | ( | $element = 'this' , |
|
$js = '' , |
|||
$preventDefault = false , |
|||
$stopPropagation = false , |
|||
$listenerOn = false |
|||
) |
Outputs a javascript library focus event.
string | $element | element to attach the event to |
string | $js | code to execute |
boolean | $preventDefault | |
boolean | $stopPropagation | |
boolean | string | $listenerOn | use a selector for a delegated event handler |
Definition at line 170 of file JsUtilsEventsTrait.php.
hover | ( | $element = 'this' , |
|
$over = '' , |
|||
$out = '' |
|||
) |
Outputs a javascript library hover event.
string | $element | |
string | $over | code for mouse over |
string | $out | code for mouse out |
Definition at line 184 of file JsUtilsEventsTrait.php.
keydown | ( | $element = 'this' , |
|
$js = '' , |
|||
$preventDefault = false , |
|||
$stopPropagation = false , |
|||
$listenerOn = false |
|||
) |
Outputs a javascript library keydown event.
string | $element | element to attach the event to |
string | $js | code to execute |
boolean | $preventDefault | |
boolean | $stopPropagation | |
boolean | string | $listenerOn | use a selector for a delegated event handler |
Definition at line 202 of file JsUtilsEventsTrait.php.
keypress | ( | $element = 'this' , |
|
$js = '' , |
|||
$preventDefault = false , |
|||
$stopPropagation = false , |
|||
$listenerOn = false |
|||
) |
Outputs a javascript library keypress event.
string | $element | element to attach the event to |
string | $js | code to execute |
boolean | $preventDefault | |
boolean | $stopPropagation | |
boolean | string | $listenerOn | use a selector for a delegated event handler |
Definition at line 218 of file JsUtilsEventsTrait.php.
keyup | ( | $element = 'this' , |
|
$js = '' , |
|||
$preventDefault = false , |
|||
$stopPropagation = false , |
|||
$listenerOn = false |
|||
) |
Outputs a javascript library keydown event.
string | $element | element to attach the event to |
string | $js | code to execute |
boolean | $preventDefault | |
boolean | $stopPropagation | |
boolean | string | $listenerOn | use a selector for a delegated event handler |
Definition at line 234 of file JsUtilsEventsTrait.php.
load | ( | $element = 'this' , |
|
$js = '' , |
|||
$preventDefault = false , |
|||
$stopPropagation = false , |
|||
$listenerOn = false |
|||
) |
Outputs a javascript library load event.
string | $element | element to attach the event to |
string | $js | code to execute |
boolean | $preventDefault | |
boolean | $stopPropagation | |
boolean | string | $listenerOn | use a selector for a delegated event handler |
Definition at line 250 of file JsUtilsEventsTrait.php.
mousedown | ( | $element = 'this' , |
|
$js = '' , |
|||
$preventDefault = false , |
|||
$stopPropagation = false , |
|||
$listenerOn = false |
|||
) |
Outputs a javascript library mousedown event.
string | $element | element to attach the event to |
string | $js | code to execute |
boolean | $preventDefault | |
boolean | $stopPropagation | |
boolean | string | $listenerOn | use a selector for a delegated event handler |
Definition at line 266 of file JsUtilsEventsTrait.php.
mouseenter | ( | $element = 'this' , |
|
$js = '' , |
|||
$preventDefault = false , |
|||
$stopPropagation = false , |
|||
$listenerOn = false |
|||
) |
Outputs a javascript library mouseenter event.
string | $element | element to attach the event to |
string | $js | code to execute |
boolean | $preventDefault | |
boolean | $stopPropagation | |
boolean | string | $listenerOn | use a selector for a delegated event handler |
Definition at line 314 of file JsUtilsEventsTrait.php.
mouseleave | ( | $element = 'this' , |
|
$js = '' , |
|||
$preventDefault = false , |
|||
$stopPropagation = false , |
|||
$listenerOn = false |
|||
) |
Outputs a javascript library mouseleave event.
string | $element | element to attach the event to |
string | $js | code to execute |
boolean | $preventDefault | |
boolean | $stopPropagation | |
boolean | string | $listenerOn | use a selector for a delegated event handler |
Definition at line 298 of file JsUtilsEventsTrait.php.
mouseout | ( | $element = 'this' , |
|
$js = '' , |
|||
$preventDefault = false , |
|||
$stopPropagation = false , |
|||
$listenerOn = false |
|||
) |
Outputs a javascript library mouseout event.
string | $element | element to attach the event to |
string | $js | code to execute |
boolean | $preventDefault | |
boolean | $stopPropagation | |
boolean | string | $listenerOn | use a selector for a delegated event handler |
Definition at line 282 of file JsUtilsEventsTrait.php.
mouseover | ( | $element = 'this' , |
|
$js = '' , |
|||
$preventDefault = false , |
|||
$stopPropagation = false , |
|||
$listenerOn = false |
|||
) |
Outputs a javascript library mouseover event.
string | $element | element to attach the event to |
string | $js | code to execute |
boolean | $preventDefault | |
boolean | $stopPropagation | |
boolean | string | $listenerOn | use a selector for a delegated event handler |
Definition at line 330 of file JsUtilsEventsTrait.php.
mouseup | ( | $element = 'this' , |
|
$js = '' , |
|||
$preventDefault = false , |
|||
$stopPropagation = false , |
|||
$listenerOn = false |
|||
) |
Outputs a javascript library mouseup event.
string | $element | element to attach the event to |
string | $js | code to execute |
boolean | $preventDefault | |
boolean | $stopPropagation | |
boolean | string | $listenerOn | use a selector for a delegated event handler |
Definition at line 346 of file JsUtilsEventsTrait.php.
resize | ( | $element = 'this' , |
|
$js = '' , |
|||
$preventDefault = false , |
|||
$stopPropagation = false , |
|||
$listenerOn = false |
|||
) |
Outputs a javascript library resize event.
string | $element | element to attach the event to |
string | $js | code to execute |
boolean | $preventDefault | |
boolean | $stopPropagation | |
boolean | string | $listenerOn | use a selector for a delegated event handler |
Definition at line 379 of file JsUtilsEventsTrait.php.
scroll | ( | $element = 'this' , |
|
$js = '' , |
|||
$preventDefault = false , |
|||
$stopPropagation = false , |
|||
$listenerOn = false |
|||
) |
Outputs a javascript library scroll event.
string | $element | element to attach the event to |
string | $js | code to execute |
boolean | $preventDefault | |
boolean | $stopPropagation | |
boolean | string | $listenerOn | use a selector for a delegated event handler |
Definition at line 396 of file JsUtilsEventsTrait.php.
unload | ( | $element = 'this' , |
|
$js = '' , |
|||
$preventDefault = false , |
|||
$stopPropagation = false , |
|||
$listenerOn = false |
|||
) |
Outputs a javascript library unload event.
string | $element | element to attach the event to |
string | $js | code to execute |
boolean | $preventDefault | |
boolean | $stopPropagation | |
boolean | string | $listenerOn | use a selector for a delegated event handler |
Definition at line 362 of file JsUtilsEventsTrait.php.
|
protected |
Definition at line 13 of file JsUtilsEventsTrait.php.