>DansTonCode();

Tous les codes sources

TypeScript
 11 February, 2022 à 10:38
#336
public static addClass($class: string, element: string) {
    const elements = $(element);
    if (elements.length > 0) {
      elements.each(function () {
        $(this).addClass($class);
      });
    }
  }