Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mbender74 authored Sep 5, 2021
1 parent 72a8b07 commit d38684f
Showing 1 changed file with 32 additions and 34 deletions.
66 changes: 32 additions & 34 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,40 +1,38 @@
ti.popover

Popover for iOS (Titanium Module)
# ti.popover

## Description

Popover for iOS (Titanium Module)

same API like:
https://titaniumsdk.com/api/titanium/ui/ipad/popover.html



Example:

var pullViewControllerModule = require('de.marcbender.pullview');


var pullViewControll = pullViewControllerModule.createView({
top:0,
bottom:0,
left:0,
right:0,
parentWindow:WINDOW-OF-VIEW,
backgroundColor:'#ffffff',
topCornerRadius:18,
topCornerShadowOpacity:1.0,
topCornerShadowColor:'#000000',
topCornerShadowOffset: {x:0, y:2},
topCornerShadowRadius: 10,
pullBackgroundColor:'#d0d0d0',
extraBottomInset:ADDITIONAL-BOTTOM-INSET,
scrollingView:TABLEVIEW-OR-LISTVIEW-OR-SCROLLVIEW,
minHeight:MINHEIGHT-VISIBLE,
maxHeight:MAXHEIGHT-VISIBLE,
handleSize:30,
handleColor:'red',
width:Ti.UI.FILL,
height:Ti.UI.FILL,
});

win.add(pullViewControll);
## Usage

var pullViewControllerModule = require('de.marcbender.pullview');


var pullViewControll = pullViewControllerModule.createView({
top:0,
bottom:0,
left:0,
right:0,
parentWindow:WINDOW-OF-VIEW,
backgroundColor:'#ffffff',
topCornerRadius:18,
topCornerShadowOpacity:1.0,
topCornerShadowColor:'#000000',
topCornerShadowOffset: {x:0, y:2},
topCornerShadowRadius: 10,
pullBackgroundColor:'#d0d0d0',
extraBottomInset:ADDITIONAL-BOTTOM-INSET,
scrollingView:TABLEVIEW-OR-LISTVIEW-OR-SCROLLVIEW,
minHeight:MINHEIGHT-VISIBLE,
maxHeight:MAXHEIGHT-VISIBLE,
handleSize:30,
handleColor:'red',
width:Ti.UI.FILL,
height:Ti.UI.FILL,
});

win.add(pullViewControll);

0 comments on commit d38684f

Please sign in to comment.