Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
thet committed Oct 7, 2023
1 parent 1a55ae6 commit 39870cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Mockup is the JavaScript stack of the Plone Classic UI.
Mockup is a JavaScrip UI library which provides widgets, apps and functionality for the Plone Classic UI variant.
It is based on Patternslib(XXX) and provides it's functionality through so-called Patterns which are initialized and get active if a triggering CSS selector is found in the DOM tree.
For example, the related items widget is initialized on a form input field with the CSS class `pat-relateditems`.
The configuration is done via data attributes, in case of `pat-relateditems` it's an attribute called `data-pat-relateditems`.
The configuration is done via data attributes, in case of the related items pattern it's an attribute called `data-pat-relateditems`.
The data strucutre of the configuration can be a JSON string or CSS declaration like key-value pairs separated by a semicolon.
Defining a JSON structure is more flexible though.

Expand Down Expand Up @@ -62,7 +62,7 @@ But in order to resemble the CSS syntax new Patterns should rather separate each

## Mockup Patterns

{doc}[pat-autotoc]`src/pat/autotoc/README.md`: Automatically create a table of contents.
{doc}`src/pat/autotoc/README.md`: Automatically create a table of contents.
[pat-cookietrigger]`src/pat/cookietrigger/README.md`: Show a DOM element if browser cookies are disabled.
[pat-datatables]`src/pat/datatables/README.md`: This pattern provides the functionality from https://datatables.net/
[pat-formautofocus]`src/pat/formautofocus/README.md`: Automatically set the focus on a form input field.
Expand Down

0 comments on commit 39870cf

Please sign in to comment.