i have got a page in QML and i have implemented a new logic (function back()) for back button on this page. now I want, that this logic would also run after swiping the page from the screen. What is the best way to do it? onPeekEnded event is not suitable for this situation, because it fires also when the swiping was canceled. Thanks.
paneProperties: NavigationPaneProperties {
backButton: ActionItem {
onTriggered: {
back();
}
}
}