Skip to content

Fix minor documentation error - #3993

Open
remyzandwijk wants to merge 1 commit into
bigskysoftware:four-devfrom
remyzandwijk:v4-documentation-fix
Open

Fix minor documentation error#3993
remyzandwijk wants to merge 1 commit into
bigskysoftware:four-devfrom
remyzandwijk:v4-documentation-fix

Conversation

@remyzandwijk

Copy link
Copy Markdown

There is an error in the v4 documentation. This example is given:

<button hx-post="/clicked"
        hx-trigger="click"
        hx-target="#output"
        hx-swap="outerHTML">
    Click Me
</button>
<output id="output"></output>

The documentation states that the button is replaced when the button is clicked, but that is obviously not true. The complete <output id="output"></output> block is being replaced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant