Class QCssClassAction
Can add or remove an extra CSS class from a control.
Should be used mostly for temporary purposes such as 'hovering' over a control
-
QBaseClass
-
QAction
-
QCssClassAction
Methods summary
public
|
#
__construct( null|string $strTemporaryCssClass = null, boolean $blnOverride = false )
Constructor
Parameters
- $strTemporaryCssClass
The temporary class to be added to the control
If null, it will reset the CSS classes to the previous set
- $blnOverride
Should the previously set classes be removed (true) or not (false)
This will not reset the CSS class on the server side
|
public
string
|
#
RenderScript( QControl $objControl )
Returns the JavaScript to be executed on the client side
Returns the JavaScript to be executed on the client side
Parameters
Returns
string The JavaScript to be executed on the client side
|
Properties summary
protected
null|string
|
$strTemporaryCssClass
The CSS class to be added to the control
The CSS class to be added to the control
|
|
protected
boolean
|
$blnOverride
Should the CSS class be applied by removing the previous one?
Should the CSS class be applied by removing the previous one?
|
|