Skip to contents

Update the entire data object of a Vue component instance by id (namespaced)

Usage

update_vue_data(session, id, data)

Arguments

session

Shiny session object

id

Vue component id (string)

data

Named list representing the full Vue data object

Examples

if (FALSE) { # \dontrun{
# In a Shiny server function:
# Replace the data object of a calendar component
update_vue_data(session, "my_calendar", list(
  value = "2025-12-31",
  first_day_of_week = 3
))
} # }