Debian Codegraph @

tests/testthat/_snaps/busy-indication.md

raw symbols SCIP
1 # useBusyIndicators()
2
3 Code
4 tagList(useBusyIndicators(), useBusyIndicators(spinners = FALSE),
5 useBusyIndicators(pulse = FALSE), useBusyIndicators(spinners = FALSE, pulse = FALSE),
6 )
7 Output
8 <script>document.documentElement.dataset.shinyBusySpinners = 'true';
9 document.documentElement.dataset.shinyBusyPulse = 'true';</script>
10 <script>delete document.documentElement.dataset.shinyBusySpinners;
11 document.documentElement.dataset.shinyBusyPulse = 'true';</script>
12 <script>document.documentElement.dataset.shinyBusySpinners = 'true';
13 delete document.documentElement.dataset.shinyBusyPulse;</script>
14 <script>delete document.documentElement.dataset.shinyBusySpinners;
15 delete document.documentElement.dataset.shinyBusyPulse;</script>
16
17 # busyIndicatorOptions()
18
19 Code
20 tagList(busyIndicatorOptions(), busyIndicatorOptions(spinner_type = "bars"),
21 busyIndicatorOptions(spinner_type = "pulse"), busyIndicatorOptions(
22 spinner_type = "dots"), busyIndicatorOptions(spinner_color = "red"),
23 busyIndicatorOptions(spinner_size = "10px"), busyIndicatorOptions(
24 spinner_delay = "1s"), busyIndicatorOptions(pulse_background = "blue"),
25 busyIndicatorOptions(pulse_height = "10px"), busyIndicatorOptions(pulse_speed = "1s"),
26 busyIndicatorOptions(spinner_color = "red", spinner_size = "10px",
27 spinner_delay = "1s", pulse_background = "blue", pulse_height = "10px",
28 pulse_speed = "1s"))
29 Output
30 <style id="spinner-options-606810">:has(> #spinner-options-606810) {--shiny-spinner-url:url('spinners/bars.svg');}</style>
31 <style id="spinner-options-331475">:has(> #spinner-options-331475) {--shiny-spinner-url:url('spinners/pulse.svg');}</style>
32 <style id="spinner-options-162876">:has(> #spinner-options-162876) {--shiny-spinner-url:url('spinners/dots.svg');}</style>
33 <style id="spinner-options-614193">:has(> #spinner-options-614193) {--shiny-spinner-color:#FF0000;}</style>
34 <style id="spinner-options-732154">:has(> #spinner-options-732154) {--shiny-spinner-size:10px;}</style>
35 <style id="spinner-options-353895">:has(> #spinner-options-353895) {--shiny-spinner-delay:1s;}</style>
36 <style>:root {--shiny-pulse-background:blue;}</style>
37 <style>:root {--shiny-pulse-height:10px;}</style>
38 <style>:root {--shiny-pulse-speed:1s;}</style>
39 <style id="spinner-options-437161">:has(> #spinner-options-437161) {--shiny-spinner-color:#FF0000;--shiny-spinner-size:10px;--shiny-spinner-delay:1s;}</style>
40 <style>:root {--shiny-pulse-background:blue;--shiny-pulse-height:10px;--shiny-pulse-speed:1s;}</style>
41
42 # Can provide svg file for busyIndicatorOptions(spinner_type)
43
44 Code
45 busyIndicatorOptions(spinner_type = tmpsvg)
46 Output
47 [[1]]
48 <style id="spinner-options-606810">:has(> #spinner-options-606810) {--shiny-spinner-url:url('data:image/svg+xml;base64,PHN2Zz48L3N2Zz4K');}</style>
49
50 attr(,"class")
51 [1] "card_item" "list"
52