flashCard {flashCard} | R Documentation |
Create a flash card
Description
Create a flash card with desired data frame
Usage
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
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")
[Package flashCard version 0.1.0 Index]