jasonkneen / nl.fokkezb.drawer

[UNMAINTAINED] An Alloy widget wrapping the NappDrawer module for Facebook-like sliding side menus.
84 stars 36 forks source link

add children drawer to parent drawer #39

Closed snaimika closed 9 years ago

snaimika commented 9 years ago

how to add another sliding drawer on click event of one of the element of parent drawer

FokkeZB commented 9 years ago

Please be bit (well, maybe a lot) more specific on what you want, code examples etc.

snaimika commented 9 years ago

I am not able to add a submenu to the drawer. I have added the following widget appnavigatortable to the drawer: widget.xml: View onClick="startHome">

    <View onClick="startFindBranch">
        <Label id="findbranchlabel" class="btnlabel" text="Find Branch" color="white"/>
        <Button id="findbranchbutton" class="button" icon="fa-map-marker"></Button>
        <Widget id="fa" src="com.mattmcfarland.fontawesome"/>
    </View>

I want to open a sub view on clicking on home button on the drawer.

FokkeZB commented 9 years ago

Could you format the code in a way that I can read it (see markdown format options) and include the controller code?