Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
New Contributor
Posts: 6
Registered: ‎05-21-2013
My Device: Simulator bb10
My Carrier: no

swipe event for page?

Hello, 

 

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. 

 

    paneProperties: NavigationPaneProperties {
        backButton: ActionItem {
            onTriggered: {
            	back();
            }
        }
    
    }