phpMv -UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
|
Composant JQuery UI Menu. More...
Public Member Functions | |
__construct (JsUtils $js) | |
setContent ($value) | |
The content of the tooltip. | |
setDisabled ($value) | |
Disables the tooltip if set to true. | |
setHide ($value) | |
If and how to animate the hiding of the tooltip. | |
setItems ($value) | |
A selector indicating which items should show tooltips. | |
setPosition (Position $position) | |
Identifies the position of the tooltip in relation to the associated target element. | |
setShow ($value) | |
If and how to animate the showing of the tooltip. | |
setTooltipClass ($value) | |
A class to add to the widget, can be used to display various tooltip types, like warnings or errors. | |
setTrack ($value) | |
Whether the tooltip should track (follow) the mouse. | |
onClose ($jsCode) | |
Triggered when a tooltip is closed, triggered on focusout or mouseleave. | |
onOpen ($jsCode) | |
Triggered when a tooltip is shown, triggered on focusin or mouseover. | |
Public Member Functions inherited from SimpleComponent | |
getScript () | |
attach ($identifier) | |
addEvent ($event, $jsCode) | |
on ($event, $jsCode) | |
getAttachTo () | |
getItemSelector () | |
setItemSelector ($itemSelector) | |
Public Member Functions inherited from BaseComponent | |
setParam ($key, $value) | |
getParam ($key) | |
getParams () | |
compile (JsUtils $js=NULL) | |
setParams ($params) | |
addParams ($params) | |
setDebug ($value) | |
setVerbose ($value) | |
Additional Inherited Members | |
Data Fields inherited from BaseComponent | |
$jquery_code_for_compile =array () | |
Protected Member Functions inherited from SimpleComponent | |
compileEvents () | |
_createSelector ($itemSelector, $selector) | |
compileJQueryCode () | |
setParamCtrl ($key, $value, $typeCtrl) | |
Protected Member Functions inherited from BaseComponent | |
getParamsAsJSON ($params) | |
Protected Attributes inherited from SimpleComponent | |
$attachTo | |
$itemSelector | |
$uiName | |
$events | |
Protected Attributes inherited from BaseComponent | |
$params =array () | |
$js | |
__construct | ( | JsUtils | $js | ) |
Reimplemented from SimpleComponent.
Definition at line 16 of file Tooltip.php.
onClose | ( | $jsCode | ) |
Triggered when a tooltip is closed, triggered on focusout or mouseleave.
string | $jsCode |
Definition at line 121 of file Tooltip.php.
onOpen | ( | $jsCode | ) |
Triggered when a tooltip is shown, triggered on focusin or mouseover.
string | $jsCode |
Definition at line 131 of file Tooltip.php.
setContent | ( | $value | ) |
The content of the tooltip.
string | $value | string or function default : function returning the title attribute |
Definition at line 29 of file Tooltip.php.
setDisabled | ( | $value | ) |
Disables the tooltip if set to true.
mixed | $value | default : false |
Definition at line 40 of file Tooltip.php.
setHide | ( | $value | ) |
If and how to animate the hiding of the tooltip.
mixed | $value | default : true |
Definition at line 51 of file Tooltip.php.
setItems | ( | $value | ) |
A selector indicating which items should show tooltips.
Customize if you're using something other then the title attribute for the tooltip content, or if you need a different selector for event delegation.
string | $value | default : title |
Definition at line 64 of file Tooltip.php.
setPosition | ( | Position | $position | ) |
Identifies the position of the tooltip in relation to the associated target element.
The of option defaults to the target element, but you can specify another element to position against. You can refer to the jQuery UI Position utility for more details about the various options.
Position | $position | default : { my: "left top+15", at: "left bottom", collision: "flipfit" } |
Definition at line 77 of file Tooltip.php.
setShow | ( | $value | ) |
If and how to animate the showing of the tooltip.
mixed | $value | default : true |
Definition at line 88 of file Tooltip.php.
setTooltipClass | ( | $value | ) |
A class to add to the widget, can be used to display various tooltip types, like warnings or errors.
This may get replaced by the classes option.
string | $value | default : null |
Definition at line 100 of file Tooltip.php.
setTrack | ( | $value | ) |
Whether the tooltip should track (follow) the mouse.
Boolean | $value | default :false |
Definition at line 111 of file Tooltip.php.