hasClass(element: HTMLElement, value: String);
element. Page markup element.
value. Name of CSS class.
The hasClass method indicates if specified markup element contains specified CSS class.
This method returns True if the specified markup element contains specified CSS class, otherwise it returns False.
The example of use is given in the with description of the static method PP.addClass.
See also: