initialQueryDispatch: Can be called inside initApp handler fun is a function that...

View source: R/events.r

initialQueryDispatchR Documentation

Can be called inside initApp handler fun is a function that gets an argument query and can do some initial dispatch depending on the query. For some reason we need to use the observer trick to get access to the query object. This means dispatch takes place after other commands in the initApp handler.

Description

Can be called inside initApp handler fun is a function that gets an argument query and can do some initial dispatch depending on the query. For some reason we need to use the observer trick to get access to the query object. This means dispatch takes place after other commands in the initApp handler.

Usage

initialQueryDispatch(fun, app = getApp(), ...)

skranz/shinyEvents documentation built on Jan. 1, 2023, 9:25 a.m.