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);
});
}
}
JavaScript
18 September, 2020 à 13:36
#312
(Math.random() * (5 - (-5)) + - 5).toFixed(2)