Skip to content

Instantly share code, notes, and snippets.

@nuno
Last active August 29, 2015 14:14
Show Gist options
  • Save nuno/43f25736331ec763854e to your computer and use it in GitHub Desktop.
Save nuno/43f25736331ec763854e to your computer and use it in GitHub Desktop.
NavBar buttons
<Alloy>
<NavigationWindow id="nav" formFactor="handheld">
<Window id="win" class="container">
<LeftNavButton>
<Button systemButton="Titanium.UI.iPhone.SystemButton.EDIT" onClick="doClick"/>
</LeftNavButton>
<RightNavButton>
<Button systemButton="Titanium.UI.iPhone.SystemButton.ADD" onClick="doClick"/>
</RightNavButton>
</Window>
</NavigationWindow>
</Alloy>
@frodfigu
Copy link

frodfigu commented Apr 7, 2015

Hi Nuno, do you know how can I get the native behavior of swipe back window with a custom leftNavButton?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment