public void OnPopState(PopStateEvent e) { if (isDisplayingUI) { isDisplayingUI = false; } }
private void OnPopState(PopStateEvent evt) { // If state is null then it means it's firing on first load, which we never care about var path = (string)evt.State; if (path != null && path != currentPath) { Open(path, false, null); } }
public void OnPopState(PopStateEvent e) { stateStack.Pop(); Console.WriteLine("Popped State: " + e); }