I am in the process of developing a UWP app using JavaScript. When I click the Back Button, it currently just closes the app. However, I am looking to modify this behavior to instead trigger a JavaScript function.
If anyone has knowledge and experience with creating a Windows Runtime component and invoking it from JavaScript in order to manage the Back Button press event, your guidance and code examples would be greatly appreciated.