# Create a `wa-comparison` component

Generated 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.

## Usage

``` r
wa_comparison(
  input_id,
  ...,
  class = NULL,
  style = NULL,
  dir = NULL,
  lang = NULL,
  position = NULL,
  after = NULL,
  before = NULL,
  handle = NULL
)
```

## Arguments

- input_id:

  Shiny input id for the component. This is also used as the rendered
  DOM `id` attribute.

- ...:

  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: `50`. The position of the divider as a percentage.

- after:

  The after content, often an `<img>` or `<svg>` element.

- before:

  The before content, often an `<img>` or `<svg>` element.

- handle:

  The icon used inside the handle.

## Value

An HTML tag for the component.

## Shiny Bindings

`input$<input_id>` reflects the component's current `value` value.
