The Swipe widget provides a tool that shows a portion of a layer in a map when you swipe.
The following table lists the configurable attributes of the Swipe widget:
String. Style of swipe too. The default value is vertical. Available options are vertical, horizontal, and scope.
String. The ID of the layer to swipe. There is no default value.