Creates an horizontal layout with both "previous" and "next" contents side by side.

glideControls(previous_content = prevButton(), next_content = nextButton())

Arguments

previous_content

Content of the "previous" (left) zone.

next_content

Content of the "next" (right) zone.

Examples

glideControls(
  prevButton("Back"),
  list(
    lastButton(href = "https://example.com", "Go to website"),
    nextButton("Next")
  )
)
#> <div style="display: flex; justify-content: space-between">
#>   <div>
#>     <button class="Back prev-screen"></button>
#>   </div>
#>   <div>
#>     <a class="Go to website last-screen" href="https://example.com"></a>
#>     <button class="Next next-screen"></button>
#>   </div>
#> </div>