Disable EdgeSwipeAnimation in Ux or Javascript

Hi,

How can I disable or Enable a EdgeSwipeAnimation if I click other element?

In UNO I do it like:

MyEdgeSwipeAnimation.Enable(); 

or

MyEdgeSwipeAnimation.Disable();

How can achieve this in Js or UX?

I see in the documentation that EdgeSwipeAnimation has a IsEnabled value but when I add this I get the error:

'EdgeSwipeAnimation' does not have a property called 'IsEnable' 

Should you be able to disable it while it is visible?

If not, you could try putting the edge navigator in a WhileTrue trigger and toggle that.

This don’t work for me. I don’t need to remove the EdgeSwipeAnimation from the visual tree I need to Change the state of the Trigger (IsEnabled to true or false)