trestletech / ShinyDash

Dashboard implementation for Shiny
45 stars 25 forks source link

Move Init JS to output binding #28

Open trestletech opened 11 years ago

trestletech commented 11 years ago

Move the initialization script from the UI-side functions to the Shiny output binding initialization functions like Winston had the Gage output initially.

trestletech commented 11 years ago

The reason I isolated these functions was so that we could more easily pass in the parameters needed when constructing these objects. What's the best way to do that when initializing them in the binding itself?