Problem:The goal was to produce a dialog/modal that slid out from the side of the viewport.
To accomplish this I wanted to use
"Show" with a "slide" effect and a defined "speed".
According to the documentation this is set up as follows:
- effect( effect, [options], [speed], [callback] )
Which I took to mean something like- show(slide, [direction:"left"], [1000])
However that appears not to work. I searched around and could not find an explanation of how to define the parenthesis/brackets etc. to define the options for 'show'.
After a lot of trial and error I found the following to work:
- show: ("slide", {direction:"left"},10000)
My Question:
Is this explained clearly somewhere else in the documentation?
Or, is there somewhere else to find a description of the syntax?
I only arrived at a working solution after trying a lot of combinations and hopefully there is a more direct method to define the syntax for defining the options.
Thanks