Source code quote in TypeScriptn° 336
February 11, 2022 am28 10:38
public static addClass($class: string, element: string) {
const elements = $(element);
if (elements.length > 0) {
elements.each(function () {
$(this).addClass($class);
});
}
}