diff --git a/site/reference-manual.md b/site/reference-manual.md index b1398fd..3519b62 100644 --- a/site/reference-manual.md +++ b/site/reference-manual.md @@ -1948,6 +1948,10 @@ Example: `HTML.add_class(p, "centered")` Adds a new class. If an element has no classes, adds a `class` attribute in the process. +###### HTML.has_class(html_element, class_name) + +Returns true if an element has given class. + ###### HTML.remove_class(html_element, class_name) Example: `HTML.remove_class(p, "centered")`