Number Input Form Group
Examples
inp_number()
#> $fg
#> [1] "number"
#>
#> $label
#> NULL
#>
#> $width
#> [1] 4
#>
#> $opts
#> $opts$from
#> [1] 0
#>
#> $opts$to
#> [1] 100
#>
#> $opts$step
#> [1] 1
#>
#>
#> $dots
#> list()
#>
#> attr(,"class")
#> [1] "appifyr_input" "appifyr_number_input"
inp_number(from = 0, to = 1e9)
#> $fg
#> [1] "number"
#>
#> $label
#> NULL
#>
#> $width
#> [1] 4
#>
#> $opts
#> $opts$from
#> [1] 0
#>
#> $opts$to
#> [1] 1e+09
#>
#> $opts$step
#> [1] 1
#>
#>
#> $dots
#> list()
#>
#> attr(,"class")
#> [1] "appifyr_input" "appifyr_number_input"
inp_number(from = 1, to = 7, label = "This Is A Survey")
#> $fg
#> [1] "number"
#>
#> $label
#> [1] "This Is A Survey"
#>
#> $width
#> [1] 4
#>
#> $opts
#> $opts$from
#> [1] 1
#>
#> $opts$to
#> [1] 7
#>
#> $opts$step
#> [1] 1
#>
#>
#> $dots
#> list()
#>
#> attr(,"class")
#> [1] "appifyr_input" "appifyr_number_input"
inp_number(from = 0, to = 1, step = 0.1, label = "Probability")
#> $fg
#> [1] "number"
#>
#> $label
#> [1] "Probability"
#>
#> $width
#> [1] 4
#>
#> $opts
#> $opts$from
#> [1] 0
#>
#> $opts$to
#> [1] 1
#>
#> $opts$step
#> [1] 0.1
#>
#>
#> $dots
#> list()
#>
#> attr(,"class")
#> [1] "appifyr_input" "appifyr_number_input"