Give us feedback
customize-actionsheet
Mobile icon

Customize Actionsheet

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded on 15 February 2019 by 
0.0
 (0 ratings)
customize-actionsheet

Customize Actionsheet

Documentation
1.0.0


Description

  • iOS uses the native UIActionSheet
  • Android uses the native AlertDialog
  • WP8 uses the native Popup.



Highlights

  • isAvailable : isAvailable(callback)
  • Show : It accepts an options object and a callbacks. show(options, callback)
  • Options :
    • androidTheme - // default is THEME_TRADITIONAL
    • title – String
    • buttonLabels – [] (Array; Dynamic And Customize)
    • androidEnableCancelButton - Boolean (default false)
    • winphoneEnableCancelButton - Boolean (default false)
    • addCancelButtonWithLabel - String
    • addDestructiveButtonWithLabel – String (It shows in RED)
    • destructiveButtonLast - Boolean (You can choose where the destructive button is shown)
  • For iOS Only
    • Subtitle - String
    • position: [20, 40], (For iPad pass in the [x, y] position of the popover)
  • Callback : Return button index clicked
  • Hide: If for some reason you want to hide the actionsheet programmatically.