Position: PP.Ui.SpoilerPosition;
The Position property determines panel collapsing direction.
Use JSON or the setPosition method to set the property value and the getPosition method to get the property value.
The example of property use is given in the Example of Creating the Spoiler Component page.
See also: