% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/glass-theme.R
\name{observe_glass_preset_input}
\alias{observe_glass_preset_input}
\title{Observe \code{\link[=glass_preset_input]{glass_preset_input()}} on the server}
\usage{
observe_glass_preset_input(input, session, inputId = "glass_preset")
}
\arguments{
\item{input}{The server \code{input} object.}

\item{session}{The server \code{session} object.}

\item{inputId}{Same id passed to \code{\link[=glass_preset_input]{glass_preset_input()}}.}
}
\value{
An \code{\link[shiny:observeEvent]{shiny::observeEvent()}} observer (invisibly).
}
\description{
Wires a preset select to \code{\link[=update_glass_theme]{update_glass_theme()}} so session state stays
aligned with the client (the client already applied the preset live).
}
