Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gnat authored Sep 24, 2023
1 parent 23e5317 commit d224241
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ Looking for stuff [we recommend doing in vanilla JS](#no-surreal)?
* ▶️ `any('button').remove()`
* 🔗 `classAdd` 🔁 `class_add` 🔁 `addClass` 🔁 `add_class`
* ▶️ `me().classAdd('active')`
* Leading `.` is optional for all class functions, to prevent typical syntax errors with `me()` and `any()`.
* Leading `.` is **optional** for all class functions, and is removed automatically.
* These are the same: `me().classAdd('active')` 🔁 `me().classAdd('.active')`
* 🔗 `classRemove` 🔁 `class_remove` 🔁 `removeClass` 🔁 `remove_class`
* ▶️ `me().classRemove('active')`
Expand Down

0 comments on commit d224241

Please sign in to comment.