flipdown {flipdownr} | R Documentation |
Implement a countdown
Description
Implement a countdown
Usage
flipdown(
downto,
id,
theme = "dark",
headings = c("Days", "Hours", "Minutes", "Seconds")
)
Arguments
downto |
the targeted date in 'yyyy-mm-dd' or 'yyyy-mm-dd hh:mm:ss' format |
id |
the id of the flipdown object |
theme |
the theme of the flipdown object. Possible choices: 'dark', 'light', 'gdila', 'youkous', 'ifri', 'saida'. Defaults to 'dark' |
headings |
a character vector specifying the heading related to each time part. Defaults to English headings: c("Days", "Hours", "Minutes", "Seconds") |
Value
a countdown object
Examples
flipdown(downto = "2020-11-16 20:20:20 UTC", id = "first", theme = "dark")
[Package flipdownr version 0.1.1 Index]