use_polyfill: Add a dependency to Polyfill.io

Description Usage Examples

View source: R/shuffle_widget.R

Description

'Shufflejs' doesn't work properly in Internet Explorer, you can use this function to make it work. It load a Polyfill from https://polyfill.io/v2/docs/.

Usage

1

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 

# Use in Shiny UI
fluidPage(
  use_polyfill()
)

# Use in a RMarkdown chunk
```{r, echo=FALSE}
shufflecards:::use_polyfill()
```

## End(Not run)

dreamRs/shufflecards documentation built on Dec. 4, 2019, 4:44 a.m.