Skip to content
This repository was archived by the owner on Dec 4, 2019. It is now read-only.

Commit 170f0c2

Browse files
committed
update docs + version bump
1 parent 0390862 commit 170f0c2

File tree

6 files changed

+9
-3
lines changed

6 files changed

+9
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ if (OS_ANDROID) {
7070

7171
## Known Issues
7272

73-
* MapView is not working with centerView
73+
* ~~MapView is not working with centerView~~
7474
* TabGroup is not working with Drawer
7575
* ActionBar SearchView seems to make problems too
7676

-94.6 KB
Binary file not shown.
104 KB
Binary file not shown.

dist/drawerlayout.jar

3.26 KB
Binary file not shown.

documentation/index.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,17 @@ $.drawer.setContentView( main.getView() );
4848
* `drawerIndicatorEnabled` _(Boolean)_ - wether it should use the ActionBarDrawerToggle or not
4949
* `drawerIndicatorImage` _(String)_ - path to a custom drawer indicator image
5050
* `drawerLockMode` _(int)_ - sets the lock mode constant. TiDrawerLayout.LOCK_MODE_UNLOCKED (default), TiDrawerLayout.LOCK_MODE_LOCKED_CLOSED, TiDrawerLayout.LOCK_MODE_LOCKED_OPEN
51-
51+
* `drawerArrowIcon` _(Boolean)_ - set this to `true` to get that fancy animation
52+
* `drawerArrowIconColor` _(String)_ - sets the color of the drawerIcon animation
5253

5354
## Methods
5455

5556
* `setLeftView()` - sets the value for the `leftView` property
5657
* `setRightView()` - sets the value for the `rightView` property
5758
* `setCenterView()` - sets the value for the `centerView` property
59+
* `replaceCenterView(view, backstack)` - same as `setCenterView` but with second parameter
60+
* `view` _(Ti.UI.View)_ - the new centerView
61+
* `backstack` _(Boolean)_ - set this to `true` if you want to add this to the backstack
5862
* `toggleLeftWindow()` - opens or closes the left drawer
5963
* `openLeftWindow()` - opens the left drawer
6064
* `closeLeftWindow()` - closes the left drawer
@@ -70,6 +74,8 @@ $.drawer.setContentView( main.getView() );
7074
* `setDrawerIndicatorEnabled()` - sets the value for the `drawerIndicatorEnabled` property
7175
* `setDrawerIndicatorImage()` - sets the value for the `drawerIndicatorImage` property
7276
* `setDrawerLockMode()` - sets the value for the `drawerLockMode` property
77+
* `setDrawerArrowIcon()` - sets the value for the `drawerArrowIcon` property
78+
* `setDrawerArrowIconColor()` - sets the value for the `drawerArrowIconColor` property
7379

7480
## Events
7581

manifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 1.2.2
1+
version: 1.3.0
22
apiversion: 2
33
description: TiUIView adaptor for DrawerLayout
44
author: metacortex

0 commit comments

Comments
 (0)