Commit Graph

531 Commits

Author SHA1 Message Date
Joe Cheng
ad1737f16b Infrastructure for extensible inputs 2012-08-09 16:38:21 -07:00
Joe Cheng
2ac1895a6e Inputs without names shouldn't be sent 2012-08-08 17:13:19 -07:00
Joe Cheng
4dc7630adc Cleanup code, exports, radio values
- Radio values based on id could not be kept in sync because implicitly deselected radios don't trigger a change event. So don't pass id-based values for radios at all (still works for checkboxes though)
- Make onInputChange available in a Shiny namespace on the window
- Remove no longer used debounce/throttle code
2012-08-07 15:25:00 -07:00
Joe Cheng
66a3d68755 Hook up modular input pipeline 2012-08-07 15:25:00 -07:00
Joe Cheng
ce9213cdc1 Infrastructure for more flexible input handling 2012-08-07 15:25:00 -07:00
Joe Cheng
8455343fee Only instantiate sliders if sliders are loaded 2012-07-29 11:04:27 -07:00
JJ Allaire
9672088158 remove helpText from animation example 2012-07-28 11:12:23 -04:00
JJ Allaire
995908d3c6 remove docs since they have been folded into the tutorial 2012-07-28 11:04:49 -04:00
Joe Cheng
c3e14933e2 Use simpler output format for 05_sliders 2012-07-27 14:46:11 -07:00
Joe Cheng
1b3cf52a17 More control over slider animation
- Slider now takes animate argument that expects NULL, TRUE, FALSE, or a list that can be constructed using animationOptions()
- Update examples/05_sliders to use new animation format
- Tweak spacing around slider
2012-07-27 14:45:22 -07:00
Joe Cheng
57e088f6e1 Implicit initialization of jslider 2012-07-27 14:05:12 -07:00
Joe Cheng
033eb41a1d Make slider send only 1 event per animation frame 2012-07-27 13:21:08 -07:00
Joe Cheng
0d3aebc077 Slider improvements
- Get rid of smooth--it doesn't make sense for our purposes since we always provide step
- Don't do any rounding by default (this required changes in jslider)
- Switch order of format and locale arguments
- Animation should pause automatically when it reaches the end
- Default to 1s animation interval
- If animation is started when sliders are at the end, restart
- Animation button click target ran the width of the slider
2012-07-27 11:52:57 -07:00
JJ Allaire
6d9da1260a add comments to sliders example 2012-07-27 09:53:32 -07:00
JJ Allaire
0d749f333a don't use as.integer since it's no longer required 2012-07-27 09:34:03 -07:00
JJ Allaire
338463057c initial code for slider example 2012-07-27 09:05:23 -07:00
Joe Cheng
da6771eaae Back out accidentally-committed test code 2012-07-27 01:37:24 -07:00
Joe Cheng
fbf3623343 Add rudimentary animation to sliders 2012-07-27 01:35:09 -07:00
Joe Cheng
2d43817b2f Slider improvements, typed input values
- Slider now has 'smooth' parameter that, if false, snaps slider to step
- Two-handle slider (provide a vector of length 2 to value=)
- Slider and number inputs yield numeric values
2012-07-26 17:43:45 -07:00
Joe Cheng
01905c51dd Expose more slider options, add tick logic 2012-07-26 17:43:45 -07:00
JJ Allaire
84494b8a0a dont import datasets into mpg ui 2012-07-26 10:12:50 -07:00
JJ Allaire
aded289558 use reactiveText where appropriate 2012-07-26 10:07:35 -07:00
JJ Allaire
f1462fa0d2 fix spelling error 2012-07-26 09:21:41 -07:00
JJ Allaire
5cfd546b2a change indentation for tabset app 2012-07-26 09:18:14 -07:00
JJ Allaire
3b38792481 user new header panel syntax for tabsets 2012-07-26 07:27:04 -07:00
JJ Allaire
31b347e8dd headerPanel now includes a title element and just inserts a plain h1 2012-07-26 07:22:41 -07:00
JJ Allaire
fd2f4789d3 inlcude radioButtons in example 6 2012-07-25 19:01:38 -07:00
Joe Cheng
b5a65040b3 Comment tweaks 2012-07-25 15:50:11 -07:00
Joe Cheng
d44289f036 reactiveText -> reactivePrint 2012-07-25 15:30:53 -07:00
Joe Cheng
cb4b45aff1 Support radio/checkbox; unlist input lists when unnamed 2012-07-25 14:53:08 -07:00
JJ Allaire
0f4851e77d add comment noting immediate rendering of caption 2012-07-25 14:44:54 -07:00
JJ Allaire
42fe86e024 add comments for examples 7 and 8 2012-07-25 14:42:50 -07:00
JJ Allaire
3bb0ebb98f add comments for example 6 2012-07-25 14:33:49 -07:00
JJ Allaire
391310faa5 add main server comment for examples 3 and 4 2012-07-25 14:26:56 -07:00
JJ Allaire
ab0552f409 different prefix for output comments 2012-07-25 14:21:04 -07:00
JJ Allaire
8a6f59e350 add comments to example 4 2012-07-25 14:19:38 -07:00
JJ Allaire
8e859e53c2 add comments to examples 2 and 3 2012-07-25 14:12:52 -07:00
JJ Allaire
a44e475451 add comments to example 1 2012-07-25 14:02:31 -07:00
JJ Allaire
f958839af1 load mpgData at startup 2012-07-25 11:16:04 -07:00
JJ Allaire
f741851250 eliminate animation example 2012-07-25 11:01:18 -07:00
JJ Allaire
acd68b5de8 more widgets example 2012-07-25 10:10:03 -07:00
JJ Allaire
c80072a62e example 2 should use a reactive function 2012-07-25 10:09:03 -07:00
JJ Allaire
a323f40da2 stubs for examples we haven't built yet 2012-07-25 09:36:42 -07:00
JJ Allaire
ee05e6ba03 use numeric sequences for example directories 2012-07-25 09:32:32 -07:00
JJ Allaire
ae9ef5c13f use mpg dataset for user example 2012-07-25 12:20:27 -04:00
JJ Allaire
d6b6719b54 rename model function to formulaText 2012-07-25 11:15:33 -04:00
JJ Allaire
21e8af827f add titanic example 2012-07-25 09:42:53 -04:00
JJ Allaire
5e5d233d83 add library(datasets) where required 2012-07-25 09:20:55 -04:00
JJ Allaire
214fd92b12 add html ui example 2012-07-25 09:14:20 -04:00
JJ Allaire
3687790730 remove br tags from reactivity example 2012-07-25 08:57:33 -04:00