updateDropZoneInput: Change the values or settings of a dropzone on the client

Description Usage Arguments

View source: R/dndselect.R

Description

The set of presets can be cleared by using presets=character(0).

Usage

1
2
3
4
5
6
7
updateDropZoneInput(
  session = getDefaultReactiveDomain(),
  inputId,
  presets = NULL,
  choices = NULL,
  placeholder = NULL
)

Arguments

session

The session object passed to function given to shinyServer.

inputId

The input slot that will be used to acces the value.

presets

Array or list of preset values.

choices

List of acceptable values with their associated labels. Note that the labels can be arbitrary HTML, as long as they are wrapped in a tagList.

placeholder

Insert placeholder text.


serenity-r/dndselectr documentation built on March 12, 2021, 8:37 a.m.