Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 707 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 707 Bytes

ti.bottomsheet.fragment

Ti Alloy "Fragment" to recreate an iOS BottomSheet

This iteration is a standalone Alloy Controller/View/Style.

Dependecies

  • Alloy
  • FontAwesome (used for "x" close button)

Use

  1. Copy the .xml/.js/.tss files to your project

  2. Edit the .xml & .js as necessary to customize for your app

  3. From your app, simply open the Alloy Controller

  Alloy.createController("modalBottomsheet", {level: 1}).getView().open();

To Do:

  • Needs work to better handle events - touchMove, touchEnd, scroll, etc..
  • Move this to an Alloy Widget and allow user to pass in their Views