it is declared before ....I am talking about input$theme but declared afterwards
sidebar <- dashboardSidebar(uiOutput("sidebarpanel"),width = 260)
body <- dashboardBody(shinyjs::useShinyjs(), uiOutput("body"))
ui<-dashboardPage(header, sidebar, body,shinyDashboardThemes(theme = input$theme))
it is declared after ,my code for entire dashboard is set up is like that,so i can not declare it vice versa, is there any way to access it. I might be wrong but about a year back ,i read somewhere that we might access it by << function but it did not work,does any one know i can access it even before declaring it ,I know it's kinda silly question to ask in the first place but I am in a position that I can not change the structure of my code.it would be great help if anyone guide me through,even a suggestion would be great.I know it would work if I reverse the order.
selectInput("theme","select Theme",choices = c('blue_gradient', 'boe_website', 'grey_light','grey_dark',
'onenote', 'poor_mans_flatly', 'purple_gradient'))