Skip to content

Commit

Permalink
README copyediting
Browse files Browse the repository at this point in the history
  • Loading branch information
kethinov committed Jan 8, 2024
1 parent 17018a3 commit 08b276d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

- Added dark mode support.
- Deprecated "reset" versions and "no images" versions.
- Removed the need to manually call window.semanticForms() every time you alter the DOM in a way that could add new semanticForms elements.
- Added mutation observer that monitors changes to the DOM and will enhance any additional `semanticForms` forms you insert, but the monitoring may not be perfect. If you want to re-scan for new forms to enhance manually, you may still need to call `window.semanticForms()`.
- Fixed a bug that caused DOM events to be duplicated when DOM elements are added dynamically after the first page load.
- Updated dependencies.

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ Then apply the `semanticForms` class to your `<form>` elements:

Then the CSS/JS enhancements to your forms will apply automatically, assuming the markup structure you use is one of the supported patterns.

This library also monitors changes to the DOM and will enhance any additional `semanticForms` forms you insert, but the monitoring may not be perfect. If you want to re-scan for new forms to enhance manually, simply call `window.semanticForms()`.

# Features

Overview of pattern library features:
Expand Down

0 comments on commit 08b276d

Please sign in to comment.