Przeglądaj źródła

Set overflow-y: scroll for long outputs

tags/v0.1.0^2
Garrick Aden-Buie 8 lat temu
rodzic
commit
8d5a2a2230
1 zmienionych plików z 8 dodań i 3 usunięć
  1. +8
    -3
      R/regex_gadget.R

+ 8
- 3
R/regex_gadget.R Wyświetl plik

flex = c(1, 3), flex = c(1, 3),
fillCol( fillCol(
flex = c(1, 1), flex = c(1, 1),
textInputCode('pattern', 'Regex', width = "90%",
textInputCode('pattern', 'Regex', width = "100%",
placeholder = "Enter regex, single \\ okay"), placeholder = "Enter regex, single \\ okay"),
checkboxGroupInput( checkboxGroupInput(
'regex_options', 'regex_options',
), ),
tags$div( tags$div(
class = "gadget-result", class = "gadget-result",
style = "overflow-y: scroll; height: 100%;",
htmlOutput('result') htmlOutput('result')
) )
) )
selectInput('regexFn', label = 'Apply Function', selectInput('regexFn', label = 'Apply Function',
choices = regexFn_choices) choices = regexFn_choices)
), ),
verbatimTextOutput('output_result',
placeholder = TRUE)
# verbatimTextOutput('output_result', placeholder = TRUE)
tags$pre(
id = "output_result",
class = "shiny-text-output",
style = "overflow-y: scroll; height: 100%;"
)
) )
) )
), ),

Ładowanie…
Anuluj
Zapisz