Skip to content

Commit

Permalink
2.1.2
Browse files Browse the repository at this point in the history
- Added a function to the JS files's global scope called `semanticForms` that you can call to initialize new forms that have been added to the DOM since the initial initialization.
- Updated dependencies.
  • Loading branch information
kethinov committed Jun 11, 2023
1 parent b09603f commit cd14dc8
Show file tree
Hide file tree
Showing 5 changed files with 109 additions and 2,214 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@

- Fixed a situation that could lead to a JS error.

## 2.1.2

- Added a function to the JS files's global scope called `semanticForms` that you can call to initialize new forms that have been added to the DOM since the initial initialization.
- Updated dependencies.

## 2.1.1

- Fix minor alignment issue.
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ Apply the `semanticForms` class to your `<form>` elements:

Then the CSS/JS enhancements to your forms will apply automatically.

If you add new forms to the DOM after the initial initialization, you can call the global `semanticForms` function to initialize new forms that have been added to the DOM since the initial initialization.

See `semanticForms.html` or the [live demo](https://kethinov.github.io/semanticforms/semanticForms.html) for a complete pattern library with examples of all UI patterns.

# Features
Expand Down
Loading

0 comments on commit cd14dc8

Please sign in to comment.