You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: package.json
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "patternslib",
3
-
"version": "2.0.13",
3
+
"version": "2.0.14",
4
4
"title": "Markup patterns to drive behaviour.",
5
5
"description": "Patternslib is a JavaScript library that enables designers to build rich interactive prototypes without the need for writing any Javascript. All events are triggered by classes and other attributes in the HTML, without abusing the HTML as a programming language. Accessibility, SEO and well structured HTML are core values of Patterns.",
Copy file name to clipboardExpand all lines: src/pat/clone/documentation.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -91,7 +91,7 @@ The markup below would have exactly the same effect as the first example, but us
91
91
|------|------|-----|------|
92
92
| template |Selects the element that will be cloned each time. You might often want to refer to a piece of template markup for this that is hidden with though the CSS. |:first|| CSS Selector |
93
93
| max |Maximum number of clones that is allowed ||| Integer |
94
-
| trigger-element |Selector of the element that will remove the clone when clicked upon. | .add-clone || CSS Selector |
94
+
| trigger-element |Selector of the element that will add the clone when clicked upon. | .add-clone || CSS Selector |
95
95
| remove-element |Selector of the element that will remove the clone when clicked upon. | .remove-clone || CSS Selector|
96
96
| remove-behaviour or remove-behavior | What should happen when the user clicks on the element to remove a clone? Two choices exist currently. Show a confirmation dialog, or simply remove the clone immediately. | "confirm" | "confirm", "none" | One of the allowed string values. |
97
97
| clone-element |Selector of the individual clone element(s). | .clone || CSS Selector|
0 commit comments