Skip to content

Commit

Permalink
added docs notes
Browse files Browse the repository at this point in the history
  • Loading branch information
ddnexus committed Jan 14, 2019
1 parent ff3f59f commit 6cf86af
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/extras/plain.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ Other extras provide also the following framework-styled helpers:

Renders a compact navigation with a style similar to the `pagy_nav` helper.

It can take an extra `id` argument, which is used to build the `id` attribute of the `nav` tag. Since the internal automatic id assignation is based on the code line where you use the helper, you should pass an explicit id only if you are going to use more than one `pagy_plain_compact_nav*` call in the same line for the same page.
It can take an extra `id` argument, which is used to build the `id` attribute of the `nav` tag. Since the internal automatic id assignation is based on the code line where you use the helper, you _must_ pass an explicit id if you are going to use more than one `pagy_plain_compact_nav*` call in the same line for the same page.

**Notice**: passing an explicit id is also a bit faster than having pagy to generate one.

# Responsive navs

Expand Down Expand Up @@ -109,4 +111,6 @@ The above statement means that from `0` to `450` pixels width, Pagy will use the

Similar to the `pagy_nav` helper, with added responsiveness.

It can take an extra `id` argument, which is used to build the `id` attribute of the `nav` tag. Since the internal automatic id assignation is based on the code line where you use the helper, you should pass an explicit id if you are going to use more than one `pagy_plain_responsive_nav*` call in the same line for the same file.
It can take an extra `id` argument, which is used to build the `id` attribute of the `nav` tag. Since the internal automatic id assignation is based on the code line where you use the helper, you _must_ pass an explicit id if you are going to use more than one `pagy_plain_responsive_nav*` call in the same line for the same file.

**Notice**: passing an explicit id is also a bit faster than having pagy to generate one.

0 comments on commit 6cf86af

Please sign in to comment.