diff --git a/R/init.R b/R/init.R index c9f7b0dbc9..af1bb3d25f 100644 --- a/R/init.R +++ b/R/init.R @@ -46,7 +46,8 @@ #' See the vignette for an example. However, [ui_teal_with_splash()] #' is then preferred to this function. #' -#' @note If you use a module labelled `"Landing Popup"` `teal` will not create a tab for this module. +#' @note If you pass a module of class `"teal_module_landing"` in `modules` parameter, `teal` will not create a tab for +#' this module. #' #' @return named list with `server` and `ui` function #' diff --git a/man/init.Rd b/man/init.Rd index a60f6c1735..a1bfc9e9e6 100644 --- a/man/init.Rd +++ b/man/init.Rd @@ -66,7 +66,8 @@ This is a wrapper function around the \code{module_teal.R} functions. Unless you an end-user, don't use this function, but instead this module. } \note{ -If you use a module labelled \code{"Landing Popup"} \code{teal} will not create a tab for this module. +If you pass a module of class \code{"teal_module_landing"} in \code{modules} parameter, \code{teal} will not create a tab for +this module. } \examples{ new_iris <- transform(iris, id = seq_len(nrow(iris)))