diff options
Diffstat (limited to 'js/README.md')
-rw-r--r-- | js/README.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/README.md b/js/README.md index 04dfb75df6..0d8d163a28 100644 --- a/js/README.md +++ b/js/README.md @@ -83,9 +83,9 @@ Each plugin stores a copy of the invoked class on an object. This class instance Data attributes should take the following form: -- data-*(verb)* - defines main interaction +- data-{{verb}}={{plugin}} - defines main interaction - data-target || href^=# - defined on "control" element (if element controls an element other than self) -- data-*(noun)* - defines class instance options +- data-{{noun}} - defines class instance options examples: |