mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-10-02 15:25:26 +00:00
Merge pull request #587 from rashadg1030/patch-2
Fix typo in hx-swap.md thank you!
This commit is contained in:
commit
e37ae77eb6
@ -79,7 +79,7 @@ of which take the values `top` and `bottom`:
|
||||
```
|
||||
|
||||
If you wish to target a different element for scrolling or showing, you may place a CSS selector after the `scroll:`
|
||||
or `swap:`, followed by `:top` or ':bottom':
|
||||
or `show:`, followed by `:top` or `:bottom`:
|
||||
|
||||
```html
|
||||
<!-- this will get some content and swap it into the current div, then ensure that the top of #another-div is visible in the
|
||||
|
Loading…
x
Reference in New Issue
Block a user