Skip to content

Commit

Permalink
Update frontend.md (#284) [ci-skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonKlotz authored Mar 17, 2021
1 parent 2bbf204 commit 9b40cdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/frontend.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ link.call( page_number [, text [, extra_attributes_string ] ] )

If you need to add some HTML attribute to the page links, you can pass some extra attribute string at many levels, depending on the scope you want your attributes to be added.

**Important**: For performance reasons, the extra attributes strings must be formatted as valid HTML attribute/value pairs. _All_ the string spassed at any level will get inserted verbatim in the HTML of the link.
**Important**: For performance reasons, the extra attributes strings must be formatted as valid HTML attribute/value pairs. _All_ the strings passed at any level will get inserted verbatim in the HTML of the link.

1. For all pagy objects: set the global variable `:link_extra`:
```ruby
Expand Down

0 comments on commit 9b40cdd

Please sign in to comment.