Hi,
I am using EB to add swipe functionality by using import Swipe from "@arcgis/core/widgets/Swipe"; using jimu dependency.
I have taken EB editor widget as reference and modified accordingly for swipe.
I was able to swipe the layers in EB for the first instance, but the issue is after widget.destroy(), I couldn't pan my map and also i couldn't use my swipe again.
Regards,
Naga