Widget.hasCssClass

Returns whether @css_class is currently applied to @widget.

class Widget
bool
hasCssClass
(
string cssClass
)

Parameters

cssClass string

A style class, without the leading '.' used for notation of style classes

Return Value

Type: bool

%TRUE if @css_class is currently applied to @widget, %FALSE otherwise.

Meta