39 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
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
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
Joe Cheng
cb4b45aff1 Support radio/checkbox; unlist input lists when unnamed 2012-07-25 14:53:08 -07:00
Joe Cheng
91731a86bf Fix CSS for jslider 2012-07-24 18:47:14 -07:00
Joe Cheng
7108761e8f Bootstrap-styled tables
Other UI packages can override the table styles by using the option shiny.table.class.
2012-07-24 18:36:02 -07:00
Joe Cheng
0fe8bacf73 Integrate slider, more efficient input event handling 2012-07-24 18:20:11 -07:00
Joe Cheng
b4c02f42f7 Add support for progress indication
The CSS class 'recalculating' will be added to any output elements whose content might be affected by a change to one or more of the inputs.
2012-07-24 10:45:00 -07:00
Joe Cheng
8b4d62e374 Error handling support (very basic) 2012-07-23 17:10:19 -07:00
JJ Allaire
b68da2c3d3 add jslider component 2012-07-23 13:54:01 -07:00
JJ Allaire
39c69a4aff bind directly to shiny css class names 2012-07-23 11:39:16 -07:00
JJ Allaire
25ec5550b5 remove jslider component 2012-07-23 03:15:54 -07:00
JJ Allaire
b6a9ffb4c7 initial implementaiton of slider control 2012-07-22 10:13:58 -04:00
Joe Cheng
55c8d60cfb Add Bootstrap 2.0.4 to shared resources 2012-07-19 11:14:40 -07:00
Joe Cheng
3de022ba05 Add autosizing to reactive plots
Autosizing meaning the plot's HTML tag's clientside width and height will automatically be used by the renderer
2012-07-17 23:00:32 -07:00
Joe Cheng
b697718826 Add client throttle/debounce support
Also add 500ms debounce to input keyup/change
2012-07-17 22:58:57 -07:00
Joe Cheng
f1a4bf4dd7 Allow deferred submission of input 2012-07-16 16:28:53 -07:00
Joe Cheng
ea3c1dacea Take version number out of jquery filename 2012-07-16 09:12:49 -07:00
Joe Cheng
52394d61bf Add time infrastructure, reactiveTimer 2012-07-12 16:36:32 -07:00
Joe Cheng
c4fdd04fb4 Allow running in package form 2012-07-04 14:24:58 -07:00