90 Commits

Author SHA1 Message Date
Joe Cheng
363633b01f Fix issue #10: Plots in tabsets not rendered 2012-08-20 09:54:50 -07:00
Joe Cheng
575350842a Fix broken progress indication 2012-08-18 00:01:38 -07:00
Joe Cheng
642d153202 Dynamic output bindings 2012-08-14 01:21:25 -07:00
Joe Cheng
8cf7d8b4cb Input binding enhancements
- Add textarea binding
- Deterministic priority ordering
- Allow getting/setting priorities for existing bindings
2012-08-14 00:58:56 -07:00
Joe Cheng
b0b7cfa3a5 Remove comment cruft 2012-08-13 14:45:49 -07:00
Joe Cheng
3692d5f008 Delay Shiny init to after document-ready
Also remove some dead code
2012-08-13 11:51:53 -07:00
Joe Cheng
2344dc04a5 Fix bug in deferred submission 2012-08-13 10:09:44 -07:00
Joe Cheng
cf37072bed Don't debounce when animating 2012-08-13 10:04:06 -07:00
Joe Cheng
cc5c933e7d Use InputBinding for sliders 2012-08-09 17:13:14 -07:00
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