shinymovr_UI.Rd
Use shiny on your mobile phone to gather accelorameter data for whatever your heart could desire. Note that this has been recently hamstrung by browser's attempts to better secure user data. It still works on mobile devices but motion detection needs to be enabled in the devices settings.
shinymovr_UI(id, resting_msg = "Turn On", button_width = "130px", button_height = "50px", button_color = "steelblue")
id | the id you will use to keep track of this component in your app |
---|---|
resting_msg | the string displayed when the button is not pressed. Defaults to "Turn On" |
button_width | width of the button in a valid css string. E.g. needs to have pixels appended to it. |
button_height | height of the button, again in valid css string. |
button_color | valid css string to control the button color. |
A blue button that you press to initiate or stop recording of acceloration data.
if (FALSE) { shinymovr_UI( 'movr_button', resting_msg = 'Click me to record', button_width = '200px') }