Sample 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

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.


 Suggestions are most welcome !!

Reviews (0)
Category
Applications, Samples & How-tos
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 2 dependencies
Requirements
Platform
11.0.0.200
Database
All
Stack
.NET
Component Consumers
No consumers yet.
Weekly Downloads 
Related Components
Infosistema DMM
Infosistema Solutions
Infosistema Data Migration Manager (DMM) - With DMM you reduce costs by saving hundreds of hours building custom scripts, increase quality and allow unprecedented flexibility in managing your data. DMM enables data migration across OutSystems environments or servers (v9 or v10) using a simple user interface without the need of building custom scripts. It also supports features like data anonymization and data scramble, essential to comply with GDPR.
348
Chat
Hélio Dolores
Mobile and Inline Chat for OutSystems' Applications (uses node.js)
847
Survey
Sérgio Oliveira
Survey, as the name implies, is an application to create and manage Surveys, which can be answered by a specified group of users or by everyone who access the application, including anonymous users.
632
More from Viraj Kataria
Rapid Strings
assif_tiger
Customize & JS Strings Manipulation Function Other then Outsystems for Easy to implement and makes coding more lowcode
7
Android iOS Shared User Preferences
assif_tiger
An interface to the user’s defaults database, where you store key-value pairs persistently across launches of your app. - Supports both Android [ Shared Preferences ] & iOS [ User Preferences ]
23
iRoot - Android iOS Jailbreak/Root Detection
assif_tiger
Cordova Jailbreak/Root Detection 
6