Created on 15 February 2019
icon_unfollowing
Login to follow
customize-actionsheet

Customize Actionsheet

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded on 15 February 2019 by 
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 !!


Release notes (1.0.0)
Reviews (0)
Category
Device capabilities, Other device capabilities
Tags
Support options
This asset is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from  who created this asset.
Dependencies
See all 1 dependencies
Application Objects
Customize Actionsheet has 0 AOs.
Team
Compatible with
Version 11
Database:
All
Asset consumers
See all 1 consumers
Weekly downloads