Skip to content

Commit bc679d4

Browse files
authored
Merge pull request rails#42633 from iloveitaly/iloveitaly/ujs-doc-link
Adding docs link to ujs readme
2 parents 5f7c5ad + 9508b4b commit bc679d4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

actionview/app/assets/javascripts/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This unobtrusive scripting support file is developed for the Ruby on Rails frame
77
- make forms or hyperlinks submit data asynchronously with Ajax;
88
- have submit buttons become automatically disabled on form submit to prevent double-clicking.
99

10-
These features are achieved by adding certain [`data` attributes][data] to your HTML markup. In Rails, they are added by the framework's template helpers.
10+
These features are achieved by adding certain [`data` attributes][data] to your HTML markup. Documentation about the various supported `data` attributes is [available here][ujsdocs]. In Rails, they are added by the framework's template helpers.
1111

1212
## Optional prerequisites
1313

@@ -55,3 +55,4 @@ rails-ujs is released under the [MIT License](MIT-LICENSE).
5555
[data]: https://www.w3.org/TR/html5/dom.html#embedding-custom-non-visible-data-with-the-data-attributes "Embedding custom non-visible data with the data-* attributes"
5656
[validator]: https://validator.w3.org/
5757
[csrf]: https://api.rubyonrails.org/classes/ActionController/RequestForgeryProtection.html
58+
[ujsdocs]: https://github.com/rails/jquery-ujs/wiki

0 commit comments

Comments
 (0)