Skip to content

Commit

Permalink
docs: Custom class in ?countdown
Browse files Browse the repository at this point in the history
  • Loading branch information
gadenbuie committed Jan 21, 2024
1 parent 19a0987 commit dcfd3ca
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
6 changes: 6 additions & 0 deletions R/countdown.R
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@
#' containing the timer. The `"countdown"` class is added automatically. If
#' you want to modify the style of the timer, you can modify the `"countdown"`
#' class or specify additional styles here that extend the base CSS.
#'
#' `countdown()` provides two built-in classes:
#'
#' * Use `"inline"` to create an inline, rather than absolutely-positioned,
#' timer. This is useful for timers in prose or documents.
#' * Use `"no-controls"` for a timer without the up/down controls.
#' @param style CSS rules to be applied inline to the timer. Use `style` to
#' override any global CSS rules for the timer. For example, to display the
#' timer relative to the position where it is called (rather than positioned
Expand Down
9 changes: 8 additions & 1 deletion man/countdown.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit dcfd3ca

Please sign in to comment.