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

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

\item{inputId}{Same base id passed to \code{\link[=glass_theme_toggle]{glass_theme_toggle()}}.}
}
\value{
\code{NULL}, invisibly. Called for side effects (registers observers).
}
\description{
Wires the three toggle inputs to \code{\link[=update_glass_theme]{update_glass_theme()}} so session state
stays aligned with the client (needed on some hosts that rewrite 'shiny'
messaging).
}
