AnsweredAssumed Answered

Remove Swipe

Question asked by cadgis on Oct 15, 2020
Latest reply on Oct 15, 2020 by afitz-esristaff

Swap widget (4.16) is working fine. When finished,  I want to give the user an option to remove the swipe and bring then map view as it was before swipe. I tried


swipe.visibleElements = { 

      divider: false,
      handle: false // handle will not display

swipe.destroy(); .





Still the handle and divider are visible. How can I remove the swipe and refresh the view please/ Thanks.