NEWS.md
click_inside
. This allows users to click inside the message, convenient for adding clickable content, such as links inside the message.onNextInput
, a server callback that is run after next input value change. A hack to address 3348.incRv
, multRv
, diviRv
: reactive in-line numeric operations, like i += 1
, i *= 1
.spsDepend("xxx")
on UI is not required anymore, it becomes optional. This process is handled internally. In case this will not work, users still have the option to attach the dependency manually via spsDepend
.Add animateAppend
, which allows users to add animations by pipe %>%
Add animateAppendNested
, which allows users to add multiple animations to the same element by pipe %>%
.
Custom loaders supported. A new type
, "gif"
is added to all loader functions. Users can choose this type and specify a remote URL or a local path to the gif file with the src
argument to create their own custom loaders.
Rewrite bsHoverPopover
and name it bsPopover
and it’s higher higher wrapper bsPop
. This function allow users to create bootstrap3 Popover with deep customization, color, background, text size and more for each individual of them.
New function bsTooltip
and bsTip
: add a custom tooltip to any Shiny/ Rmarkdown element you want. You can change color, font size, position and more for each individual tooltip.
Rewrite methods in addLoader
class.
Now it add the load to the document when first time show
method is called instead of on class initialization. This solves the problem that some elements are not visible on app start so javascript functions cannot catch the dimensions to do the calculation.
Add 2 new methods, recreate
and destroy
:
destroy
will remove the loader from the app (client side)
recreate
= hide
+ destroy
+ create a new loader, users can change type, color, method, etc and recalculate the loader dimensions.
to reduce dependencies loadDF
, dynamicFile
and dynamicFileServer
are moved to systemPipeShiny main package.
Rewrite spsTitle
and spsHr
, now you can create colorful titles and horizontal divider lines with these two functions respectively.
animateIcon
: create font-awesome icons with animations!
animateUI
, animateServer
: add animations to any HTML/Shiny element, one is called from the UI, one is called from the server side.
animationRemove
: remove animations of an element, call from server only.
Loaders: 12 different loaders to indicate busy status.
cssLoader
: UI side function, directly add the load on UI when app starts
addLoader
: server side function, add loaders dynamically and control show and hide of the loader.
shinyCatch
: now has this argument trace_back
. It will log detailed traceback information on console if enabled. Similar to Rstudio’s built-in traceback, it shows the function calls and file+line number if there is any.
Add target_blank argument for gallery
, hrefTab
, hrefTable
, hexLogo
and hexPanel
: if TRUE
, add target="_blank"
to the link.
gallery
:
Change the object-fil
of images from “cover” to “fill”.
Now image captions without link will be not clickable and color black.
galleries with enlarge
turned on will still have hover effects on all images but captions will be not clickable and color black for images without a link.
Enhanced gallery
arguments.
New textButton
, text input group with button
New textInputGroup
, text input group with icon or text on both ends
Better hover effects on hrefTab
, hrefTable
, gallery, hexLogo
, hexPanel
New arguments in updateSpsTimeline
to allow users update up/down text in spsTimeline
.
pgPaneUI
no longer needs to work inside shinydashboard::dashboardPage()
, dependencies automatically added when calls this function.
New spsCodeBtn
function to create a button to show code in Shiny by a modal or a collapse element.
More styles and arguments added to spsGoTop
button.
Rewrite some part of spsValidate
, now it no longer requires users to return TRUE
in the end of the expression. Anything returns at the end of the expression will be accepted. The way to fail the validation is to create error inside expression.