Skip to content

hansemannn/titanium-bottom-sheet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Titanium Bottom Sheet / Page Sheet

Use swipeable bottom sheets (aka page sheets) in Titanium. Currently Android-only, but with strong ambitions to be cross-platform soon.

Example

import TiBottomSheet from 'ti.bottomsheet';

const bottomSheet = TiBottomSheet.createDialog({
    view: Ti.UI.createView({ backgroundColor: 'red', height: 200 }),
    cancelable: true,
    sheetState: TiBottomSheet.SHEET_STATE_EXPANDED,
    backgroundColor: 'white',
    canceledOnTouchOutside: true
});

bottomSheet.show();

Author

Prashant Saini, Hans Knöchel

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages