Citation de code source en TypeScriptn° 336
11 February 2022 à 10:38
public static addClass($class: string, element: string) {
const elements = $(element);
if (elements.length > 0) {
elements.each(function () {
$(this).addClass($class);
});
}
}