Skip to content

Commit

Permalink
Replace "The Fragment Plugin" with "Fragment Plugin"
Browse files Browse the repository at this point in the history
  • Loading branch information
hirasso committed Jan 28, 2024
1 parent d0811d3 commit 44b1980
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ container.
</body>
```

Using the Fragment Plugin, we can update **only** the `#users` list when clicking one of the filters.
Using Fragment Plugin, we can update **only** the `#users` list when clicking one of the filters.
The plugin expects an array of rules to recognize and handle fragment visits:

```js
Expand Down Expand Up @@ -270,7 +270,7 @@ Use the `data-swup-fragment-url` attribute to uniquely identify fragment element

In scenarios where overlays are rendered on top of other content, leaving or closing the overlay to
the same URL it was opened from should ideally not update the content below the overlay as
nothing has changed. The fragment plugin will normally do that by keeping track of URLs. However,
nothing has changed. Fragment plugin will normally do that by keeping track of URLs. However,
when swup was initialized on a subpage with a visible overlay, the plugin doesn't know which URL
the overlaid content corresponds to. Hence, we need to tell it manually so it can ignore content
updates without changes.
Expand Down

0 comments on commit 44b1980

Please sign in to comment.