customize-actionsheet

Customize Actionsheet

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

Customize Actionsheet

Details
An customize Actionsheet with UIActionSheet [Native iOS], AlertDialog [Native Android] And Native Popup [WP8] support.
Read more

Sample Customize Action Sheet: 
https://www.outsystems.com/forge/Component_Overview.aspx?ProjectId=5325


Description

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


Supported platforms

  • Android
  • iOS
  • WP8

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.


 Thanks, @EddyVerbruggen for Cordova Plugin Git Repository
 https://github.com/EddyVerbruggen/cordova-plugin-actionsheet


 Suggestions are most welcome !!


What’s new (1.0.0)
Reviews (0)