This example demonstrates how to use Dom.hasClass to test whether a class is assigned to a given element.
Click anywhere to test.