View source: R/wa_color_picker.R
| wa_color_picker | R Documentation |
wa-color-picker componentGenerated wrapper for the Web Awesome wa-color-picker component. When
used as a Shiny input, input$<input_id> reflects the component's
current value value.
Generated from Web Awesome metadata.
wa_color_picker(
input_id,
...,
class = NULL,
style = NULL,
value = NULL,
disabled = NULL,
label = NULL,
hint = NULL,
name = NULL,
custom_error = NULL,
dir = NULL,
format = NULL,
lang = NULL,
opacity = NULL,
open = NULL,
placement = NULL,
required = NULL,
size = NULL,
swatches = NULL,
uppercase = NULL,
with_hint = NULL,
with_label = NULL,
without_format_toggle = NULL,
hint_slot = NULL,
label_slot = 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. |
value |
String. The default value of the form control. Primarily
used for resetting the form control. This wrapper argument sets the
HTML |
disabled |
Boolean. Default: |
label |
String. Default: |
hint |
String. Default: |
name |
String. Default: |
custom_error |
String. Default: |
dir |
String. Optional Web Awesome attribute. |
format |
Enumerated string. Allowed values: |
lang |
String. Optional Web Awesome attribute. |
opacity |
Boolean. Default: |
open |
Boolean. Default: |
placement |
Enumerated string. Allowed values: |
required |
Boolean. Default: |
size |
Enumerated string. Allowed values: |
swatches |
Default: |
uppercase |
Boolean. Default: |
with_hint |
Boolean. Default: |
with_label |
Boolean. Default: |
without_format_toggle |
Boolean. Default: |
hint_slot |
The color picker's form hint. Alternatively, you can
use the |
label_slot |
The color picker's form label. Alternatively, you can
use the |
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.