flipdown: Implement a countdown

Description Usage Arguments Value Examples

View source: R/flipdown.R

Description

Implement a countdown

Usage

1
2
3
4
5
6
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

1
flipdown(downto = "2020-11-16 20:20:20 UTC", id = "first", theme = "dark")

flipdownr documentation built on Jan. 8, 2021, 2:23 a.m.