Training
Training
Welcome
Guided Paths
Build an App
Training Planner
Courses
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Home
Jobs
Ideas
Members
Mentorship
User Groups
Downloads
Platforms
OutSystems.com
My Platform
Community
Resources
Support
Search in OutSystems
Log in
Sign Up
Community
›
Forge
›
Assets list
›
Customize Actionsheet
Customize Actionsheet
Stable version
1.0.0
(Compatible with
OutSystems 11
)
Uploaded
on
15 February 2019
by
0.0
(0 ratings)
Overview
Reviews
Versions
Documentation
Support
Customize Actionsheet
Documentation
1.0.0
Draft
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.
Loading...
Loading