From 08b276d64a18ddbe02c3fc6f955e9bbc08e85689 Mon Sep 17 00:00:00 2001 From: Eric Newport Date: Mon, 8 Jan 2024 01:01:50 -0500 Subject: [PATCH] README copyediting --- CHANGELOG.md | 2 +- README.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 92b16f2..cfa46c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/README.md b/README.md index 6dec685..846aa3b 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,8 @@ Then apply the `semanticForms` class to your `
` 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: