Sha256: 82c30d9a0f65473264b33e1f715cd71fd5cd562ca6db4af1698bf1999c471342

Contents?: true

Size: 355 Bytes

Versions: 39

Compression:

Stored size: 355 Bytes

Contents

<%=
  render component_tag(
    id: "polling-controller",
    x: {
      data: "pollController",
      "@turbo:load.document": "startPolling",
      "@turbo:fetch-request-error": "queuePollRequest"
    },
    data: {
      interval: interval.to_json,
      cachebust: Time.now.to_i
    }) do
    helpers.turbo_frame_tag "polling-controller-frame"
  end
%>

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
coveragebook_components-0.19.8 app/components/coco/utilities/poll_controller/poll_controller.html.erb
coveragebook_components-0.19.7 app/components/coco/utilities/poll_controller/poll_controller.html.erb
coveragebook_components-0.19.6 app/components/coco/utilities/poll_controller/poll_controller.html.erb
coveragebook_components-0.19.5 app/components/coco/utilities/poll_controller/poll_controller.html.erb
coveragebook_components-0.19.4 app/components/coco/utilities/poll_controller/poll_controller.html.erb
coveragebook_components-0.19.3 app/components/coco/utilities/poll_controller/poll_controller.html.erb
coveragebook_components-0.19.2 app/components/coco/utilities/poll_controller/poll_controller.html.erb
coveragebook_components-0.19.1 app/components/coco/utilities/poll_controller/poll_controller.html.erb
coveragebook_components-0.19.0 app/components/coco/utilities/poll_controller/poll_controller.html.erb
coveragebook_components-0.18.8 app/components/coco/utilities/poll_controller/poll_controller.html.erb
coveragebook_components-0.18.7 app/components/coco/utilities/poll_controller/poll_controller.html.erb
coveragebook_components-0.18.0 app/components/coco/utilities/poll_controller/poll_controller.html.erb
coveragebook_components-0.17.7 app/components/coco/utilities/poll_controller/poll_controller.html.erb
coveragebook_components-0.17.6 app/components/coco/utilities/poll_controller/poll_controller.html.erb
coveragebook_components-0.17.5 app/components/coco/utilities/poll_controller/poll_controller.html.erb
coveragebook_components-0.17.4 app/components/coco/utilities/poll_controller/poll_controller.html.erb
coveragebook_components-0.17.3 app/components/coco/utilities/poll_controller/poll_controller.html.erb
coveragebook_components-0.17.2 app/components/coco/utilities/poll_controller/poll_controller.html.erb
coveragebook_components-0.17.1 app/components/coco/utilities/poll_controller/poll_controller.html.erb
coveragebook_components-0.17.0 app/components/coco/utilities/poll_controller/poll_controller.html.erb