Annotation Interface TurboView


@Documented @Retention(RUNTIME) @Target(METHOD) public @interface TurboView
Annotation to ease the return of TurboStream in routes.
Since:
3.3.0
Author:
Sergio del Amo
  • Element Details

    • value

      String value
      Returns:
      The View Name for the route.
      Default:
      ""
    • 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:
      ""