Skip to content

Commit

Permalink
Merge pull request #35 from Popret/typo
Browse files Browse the repository at this point in the history
Tiny typo fix
  • Loading branch information
dmbaturin authored Aug 19, 2024
2 parents e43923e + cf828bf commit 41db0b3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions site/reference-manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

###### <function>HTML.has_class(html_element, class_name)</function>

Returns true if an element has given class.

###### <function>HTML.remove_class(html_element, class_name)</function>

Example: `HTML.remove_class(p, "centered")`
Expand Down

0 comments on commit 41db0b3

Please sign in to comment.