Package io.micronaut.views.turbo
Annotation Interface TurboView
Annotation to ease the return of
TurboStream
in routes.- Since:
- 3.3.0
- Author:
- Sergio del Amo
-
Optional Element Summary
Modifier and TypeOptional ElementDescription
-
Element Details
-
value
String value- Returns:
- The View Name for the route.
- Default:
- ""
-
action
TurboStreamAction action- Returns:
- The Turbo Stream action. Defaults to `update`.
- Default:
- UPDATE
-
targetDomId
String targetDomId- Returns:
- Target DOM ID.
- Default:
- ""
-
targetCssQuerySelector
String targetCssQuerySelector- Returns:
- Target CSS Query Selector.
- Default:
- ""
-