https://github.com/hazemkhaled/tiwindowstack
An Alloy widget to manage windows stack in same code for iOS and Android, with drawer support
https://github.com/hazemkhaled/tiwindowstack
android appcelerator appcelerator-titanium iphone titanium
Last synced: about 1 year ago
JSON representation
An Alloy widget to manage windows stack in same code for iOS and Android, with drawer support
- Host: GitHub
- URL: https://github.com/hazemkhaled/tiwindowstack
- Owner: HazemKhaled
- License: mit
- Created: 2015-12-23T11:44:14.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-05-13T12:45:23.000Z (about 9 years ago)
- Last Synced: 2025-04-13T16:43:54.339Z (about 1 year ago)
- Topics: android, appcelerator, appcelerator-titanium, iphone, titanium
- Language: JavaScript
- Homepage:
- Size: 34.2 KB
- Stars: 15
- Watchers: 5
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TiWidowStack
Manage iPhone and Android windows in same code base.
## Get it [](http://gitt.io/component/ti-window-stack)
Download the latest distribution [ZIP-file](https://github.com/HazemKhaled/TiWidowStack/releases) and consult the [Titanium Documentation](http://docs.appcelerator.com/titanium/latest/#!/guide/Using_a_Module) on how install it, or simply use the [gitTio CLI](http://gitt.io/cli):
`$ gittio install ti-window-stack`
## Examples
### [Example #1](https://github.com/HazemKhaled/SideMenu-with-NavigationWindow-for-Titanium)
Side menu example using [Fokke Drawer Widget](http://gitt.io/component/nl.fokkezb.drawer) over [NappDrawer](http://gitt.io/component/dk.napp.drawer) or [DrawerLayout](https://github.com/manumaticx/Ti.DrawerLayout)  
### [Example #2](https://github.com/HazemKhaled/TiTODOs)
Simple Todo app

## How to
Check [#Examples](#examples) for now
## Contributions
Your issues and pull requests are most welcome.
### Changelog
**v1.1.4**
* Untabify (using 4 spaces tabs).
* Adding public function `size()`.
* Change the order we interact with the stack before opening a new window.
* Linting + documentation.
**v1.1.3**
* Fix back compatibility with iOS 9.3.
**v1.1.2**
* Now home function can work without the noisy effect, thanks [@Claymm](https://github.com/Claymm).
* Fix bug with Titanium SDK 5.5.0.GA.
**v1.1.1**
* Fix destroy on Android can't call callback function.
**v1.1.0**
* Allow to manage right or left side menus window stack, [related issue](https://github.com/viezel/NappDrawer/issues/188): `windowStack.setTargetInDrawer(windowStack.LEFT_WINDOW);`.
**v1.0.4**
* Fix window can't close on Android.
**v1.0.3**
* Better implementation for home method.
**v1.0.2**
* Small fix for center window menu in Android.
**v1.0.1**
* Now you can modify Android menu of the drawer container window directly from your center view.
**v1.0.0**
* First version with home, back and destroy methods.