diff --git a/R/effects.R b/R/effects.R index 6752e1d..e49bd5b 100644 --- a/R/effects.R +++ b/R/effects.R @@ -132,11 +132,11 @@ get_jqui_effects <- function() { #' Class effects. #' -#' Menipulate specified class(es) to matched elements while animating all style +#' Manipulate specified class(es) to matched elements while animating all style #' changes. #' * `jqui_add_class()`: Add class(es). #' * `jqui_remove_class()`: Remove class(es). -#' * `jqui_switch_class()`: Switch cless(es). +#' * `jqui_switch_class()`: Switch class(es). #' #' These functions are the R wrappers of #' [addClass()](http://api.jqueryui.com/addClass/), diff --git a/R/interactions.R b/R/interactions.R index 2c5fbb0..96acd85 100644 --- a/R/interactions.R +++ b/R/interactions.R @@ -80,10 +80,10 @@ jqui_interaction.shiny.tag.list <- function(ui, interaction, #' * `save`: Attach the interaction if not and save the current interaction state. #' * `load`: If interaction attached, restore the target(s) to the last saved interaction state. #' -#' With mouse interactions attached, the cosrresponding interaction states, e.g. +#' With mouse interactions attached, the corresponding interaction states, e.g. #' `position` of draggable, `size` of resizable, `selected` of selectable and #' `order` of sortable, will be send to server in the form of -#' `input$_`. The default values can be overriden by setting the +#' `input$_`. The default values can be overridden by setting the #' `shiny` option in the `options` parameter. Please see the vignette #' `Introduction to shinyjqui` for more details. #' @@ -91,12 +91,12 @@ jqui_interaction.shiny.tag.list <- function(ui, interaction, #' `jqui_selectabled()` and `jqui_sortabled()` are deprecated. Please use the #' corresponding `-able()` functions instead. #' -#' @param ui The target ui element(s) to be menipulated. Can be +#' @param ui The target ui element(s) to be manipulated. Can be #' * A `shiny.tag` or `shiny.tag.list` object #' * A string of [jQuery_selector](https://api.jquery.com/category/selectors/) #' * A [JS()][htmlwidgets::JS()] wrapped javascript expression that returns a #' [jQuery object](http://api.jquery.com/Types/#jQuery). -#' @param operation A string to determine how to menipulate the mosue interaction. +#' @param operation A string to determine how to manipulate the mouse interaction. #' Should be one of `enable`, `disable`, `destroy`, `save` and `load`. Ignored #' when `ui` is a `shiny.tag` or `shiny.tag.list` object. See Details. #' @param options A list of diff --git a/R/selectableTableOutput.R b/R/selectableTableOutput.R index 9b87ece..9a88ab2 100644 --- a/R/selectableTableOutput.R +++ b/R/selectableTableOutput.R @@ -7,7 +7,7 @@ #' Use mouse click to select single target, lasso (mouse dragging) to select #' multiple targets, and Ctrl + click to add or remove selection. In `row` #' selection mode, `input$_selected` will receive the selected row -#' index in the form of numberic vector. In `cell` selection mode, +#' index in the form of numeric vector. In `cell` selection mode, #' `input$_selected` will receive a dataframe with `rows` and #' `columns` index of each selected cells. #' diff --git a/man/Class_effects.Rd b/man/Class_effects.Rd index ef9997e..34e5421 100644 --- a/man/Class_effects.Rd +++ b/man/Class_effects.Rd @@ -40,12 +40,12 @@ removed from the class attribute of each matched element.} the class attribute of each matched element.} } \description{ -Menipulate specified class(es) to matched elements while animating all style +Manipulate specified class(es) to matched elements while animating all style changes. \itemize{ \item \code{jqui_add_class()}: Add class(es). \item \code{jqui_remove_class()}: Remove class(es). -\item \code{jqui_switch_class()}: Switch cless(es). +\item \code{jqui_switch_class()}: Switch class(es). } } \details{ diff --git a/man/Interactions.Rd b/man/Interactions.Rd index 82b63cc..cc47f7c 100644 --- a/man/Interactions.Rd +++ b/man/Interactions.Rd @@ -46,7 +46,7 @@ Ignored when \code{operation} is set as \code{destroy}. This parameter also accept a \code{shiny} option that controls the shiny input value returned from the element. See Details.} -\item{ui}{The target ui element(s) to be menipulated. Can be +\item{ui}{The target ui element(s) to be manipulated. Can be \itemize{ \item A \code{shiny.tag} or \code{shiny.tag.list} object \item A string of \href{https://api.jquery.com/category/selectors/}{jQuery_selector} @@ -54,7 +54,7 @@ the element. See Details.} \href{http://api.jquery.com/Types/#jQuery}{jQuery object}. }} -\item{operation}{A string to determine how to menipulate the mosue interaction. +\item{operation}{A string to determine how to manipulate the mouse interaction. Should be one of \code{enable}, \code{disable}, \code{destroy}, \code{save} and \code{load}. Ignored when \code{ui} is a \code{shiny.tag} or \code{shiny.tag.list} object. See Details.} @@ -103,10 +103,10 @@ to manipulate the interaction, which includes: \item \code{load}: If interaction attached, restore the target(s) to the last saved interaction state. } -With mouse interactions attached, the cosrresponding interaction states, e.g. +With mouse interactions attached, the corresponding interaction states, e.g. \code{position} of draggable, \code{size} of resizable, \code{selected} of selectable and \code{order} of sortable, will be send to server in the form of -\code{input$_}. The default values can be overriden by setting the +\code{input$_}. The default values can be overridden by setting the \code{shiny} option in the \code{options} parameter. Please see the vignette \code{Introduction to shinyjqui} for more details. diff --git a/man/selectableTableOutput.Rd b/man/selectableTableOutput.Rd index bdca61e..41faba4 100644 --- a/man/selectableTableOutput.Rd +++ b/man/selectableTableOutput.Rd @@ -24,7 +24,7 @@ will receive the index of selected rows or cells stored in Use mouse click to select single target, lasso (mouse dragging) to select multiple targets, and Ctrl + click to add or remove selection. In \code{row} selection mode, \code{input$_selected} will receive the selected row -index in the form of numberic vector. In \code{cell} selection mode, +index in the form of numeric vector. In \code{cell} selection mode, \code{input$_selected} will receive a dataframe with \code{rows} and \code{columns} index of each selected cells. }