View source: R/wa_comparison.R
| wa_comparison | R Documentation |
wa-comparison componentGenerated wrapper for the Web Awesome wa-comparison component. When
used as a Shiny input, input$<input_id> reflects the component's
current value value.
Generated from Web Awesome metadata.
wa_comparison(
input_id,
...,
class = NULL,
style = NULL,
dir = NULL,
lang = NULL,
position = NULL,
after = NULL,
before = NULL,
handle = NULL
)
input_id |
Shiny input id for the component. This is also used as
the rendered DOM |
... |
Child content for the component's default slot. |
class |
Optional CSS class string. |
style |
Optional inline CSS style string. |
dir |
String. Optional Web Awesome attribute. |
lang |
String. Optional Web Awesome attribute. |
position |
Number. Default: |
after |
The after content, often an |
before |
The before content, often an |
handle |
The icon used inside the handle. |
An HTML tag for the component.
input$<input_id> reflects the component's current value value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.