Customize Actionsheet

Stable Version 1.0.0 (OutSystems 11)
Published on 15 Feb by 
Created on 15 Feb
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 !!


Reviews (0)
Category
UI & Widgets, Applications, Mobile Plugins, Components, Samples & How-tos, Developer Tools
Support Options
This component is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from Viraj Kataria who created this component.
Dependencies
See all 1 dependencies
Requirements
Platform:
11.0.0.200
Database:
All
Stack:
.NET
Component Consumers
See all 1 consumers
Weekly Downloads