Skip to content

Commit

Permalink
Merge pull request #88 from xhaggi/fix/readme-javadoc-links
Browse files Browse the repository at this point in the history
Fix javadoc.io links in README.md
  • Loading branch information
wimdeblauwe authored Oct 18, 2023
2 parents 9f73899 + 4f9d6f4 commit 3d47f5d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ public String htmxRequest(){
```

In addition, if you want to restrict the invocation of a controller method to a
specific triggering element, you can set [HxRequest#value](https://javadoc.io/static/io.github.wimdeblauwe/htmx-spring-boot/3.0.0/io/github/wimdeblauwe/htmx/spring/boot/mvc/HxRequest.html#value())
to the ID or name of the element. If you want to be explicit use [HxRequest#triggerId](https://javadoc.io/static/io.github.wimdeblauwe/htmx-spring-boot/3.0.0/io/github/wimdeblauwe/htmx/spring/boot/mvc/HxRequest.html#triggerId())
or [HxRequest#triggerName](https://javadoc.io/static/io.github.wimdeblauwe/htmx-spring-boot/3.0.0/io/github/wimdeblauwe/htmx/spring/boot/mvc/HxRequest.html#triggerName())
specific triggering element, you can set [HxRequest#value](https://javadoc.io/doc/io.github.wimdeblauwe/htmx-spring-boot/latest/io/github/wimdeblauwe/htmx/spring/boot/mvc/HxRequest.html#value())
to the ID or name of the element. If you want to be explicit use [HxRequest#triggerId](https://javadoc.io/doc/io.github.wimdeblauwe/htmx-spring-boot/latest/io/github/wimdeblauwe/htmx/spring/boot/mvc/HxRequest.html#triggerId())
or [HxRequest#triggerName](https://javadoc.io/doc/io.github.wimdeblauwe/htmx-spring-boot/latest/io/github/wimdeblauwe/htmx/spring/boot/mvc/HxRequest.html#triggerName())

```java
@HxRequest("my-element")
Expand All @@ -75,7 +75,7 @@ public String htmxRequest(){
}
```
If you want to restrict the invocation of a controller method to having a specific target element defined,
use [HxRequest#target](https://javadoc.io/static/io.github.wimdeblauwe/htmx-spring-boot/3.0.0/io/github/wimdeblauwe/htmx/spring/boot/mvc/HxRequest.html#target())
use [HxRequest#target](https://javadoc.io/doc/io.github.wimdeblauwe/htmx-spring-boot/latest/io/github/wimdeblauwe/htmx/spring/boot/mvc/HxRequest.html#target())

```java
@HxRequest(target = "my-target")
Expand Down

0 comments on commit 3d47f5d

Please sign in to comment.