for the iOS version have a look here: ti.bottomsheetcontroller-ios.
work in progress methods/properties/events might change before the first release.
<BottomSheet id="bs" module="ti.bottomsheet">
<!-- add your content -->
</BottomSheet>
<BottomSheetDialog id="bsd" module="ti.bottomsheet">
<!-- add your content -->
</BottomSheetDialog>
$.bs.open();
$.bsd.open();
Can be used for a peaking view at the bottom that can be extended.
- show() or open()
- hide()
- toggle()
- add()
- peakHeight
- dimAmount (dialog only, creation only)
- open
- close
- stateChanged: e.state (see Constants)
- BottomSheet.STATE_DRAGGING
- BottomSheet.STATE_SLIDING
- BottomSheet.STATE_OPEN
- BottomSheet.STATE_PEAK
- BottomSheet.STATE_CLOSE
The dialog version will dimm the background when it is shown.
- show() or open()
- hide() or close()
- add()
- backgroundColor
- borderRadius
- cancelable
- peakHeight
- dismissed
- open
- close
- stateChanged: e.state (see Constants)
- peak
- BottomSheet.STATE_DRAGGING
- BottomSheet.STATE_SLIDING
- BottomSheet.STATE_OPEN
- BottomSheet.STATE_PEAK
- BottomSheet.STATE_CLOSE