animate
Add a $(..).animate jQuery call to the target element.
Arguments:
targetselects the element to animate.optionsis a list or map of CSS properties and target values passed to jQuery'sanimatefunction.speedis the duration in milliseconds, or a jQuery duration such as"slow". The default is 350 milliseconds.easingis the name of the jQuery easing function.
For example, this fades an element to half opacity:
{% button text="Dim" action={animate target="panel" options=[{opacity, 0.5}] speed=250} %}