query: Query Command in Application

Description Usage Arguments Details Value See Also Examples

View source: R/actions.R

Description

Send a query to the application and return a value.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
query(obj, command, flatten = FALSE)

query_style_id(obj, id, style, flatten = FALSE)

query_output_id(obj, id)

query_input_id(obj, id)

query_inputs(obj, include_clientdata = FALSE)

query_outputs(obj, include_clientdata = FALSE)

query_input_names(obj)

query_output_names(obj)

Arguments

obj

reactor object

command

character, JavaScript command

flatten

logical, flatten the output list. Default: FALSE

id

character, id of the element

style

name of the style element

include_clientdata

logical, include the client data in the output. Default: FALSE

Details

DETAILS

Value

value returned by the query

See Also

glue

Other actions: click_id(), execute(), set_id_value()

Examples

1
2
3
4
5
6
## Not run: 
if(interactive()){
 #EXAMPLE1
 }

## End(Not run)

yonicd/reactor documentation built on Jan. 20, 2021, 4:40 a.m.