flashCard: Create a flash card

Description Usage Arguments Examples

View source: R/flashCard.R

Description

Create a flash card with desired data frame

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
flashCard(
  data,
  frontColor = "#090e87",
  backColor = "#3443c9",
  front_text_color = "white",
  back_text_color = "white",
  width = "300px",
  height = "135px",
  elementId = NULL
)

Arguments

data

df with front and back columns

frontColor

frond side background color

backColor

back side background color

front_text_color

frond text color

back_text_color

back text color

width

width

height

height

elementId

element id

Examples

1
2
3
4
5
df1 <- data.frame(
front = c("Title front","contentfront", "content second line"),
back =c("Title back","content back", "second line")
)
flashCard(df1, elementId = "card", front_text_color = "grey")

flashCard documentation built on Aug. 13, 2020, 5:06 p.m.