Skip to contents

Routes through shiny::session's sendInputMessage() so the range binding's receiveMessage updates the slider (the "shiny-like" update path).

Usage

update_bs_range(id, value, session = shiny::getDefaultReactiveDomain())

Arguments

id

Range input id (namespaced automatically inside modules).

value

New value.

session

The Shiny session.

Value

Invisibly NULL, called for its side effect.

Examples

if (interactive()) update_bs_range("vol", 75)