[ create a new paste ] login | about

Link: http://codepad.org/FSKmTKiV    [ raw code | fork ]

Plain Text, pasted on Jun 8:
import bb.cascades 1.0

Page {
    content: Container {
        scrollMode: ScrollMode.Both
        background: Color.create ("#272727")
        layout: StackLayout {
        }
        WebView {
            objectName: "linkView"
        }
    }
    paneProperties: NavigationPaneProperties {
        backButton: ActionItem {
            onTriggered: {
                _app.navPane.popAndDelete ();
            }
        }
    }
    actions: [
        ActionItem {
            title: "Comments"
            onTriggered: {
                // DIRTY DIRTY HACK PART 3
                _app.openComments (_app.navPane.objectName);
            }
        }
    ]
}



Create a new paste based on this one


Comments: