pQuery\IQuery::addClass PHP Méthode

addClass() public méthode

Adds the specified class(es) to each of the set of matched elements.
public addClass ( string $classname ) : pquery\IQuery
$classname string The name of the class to add. You can add multiple classes by separating them with spaces.
Résultat pquery\IQuery
    function addClass($classname);