Package Exports
- @titanium/webdialog
- @titanium/webdialog/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@titanium/webdialog) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
🪦 RIP Axway Amplify Titanium (2010 - 2022)
🪦 RIP Axway Amplify Titanium (2010 - 2022)
🛑 This project is no longer being maintained 🛑
@titanium/webdialog
Native modules that allows you to use native SFSafariViewController (iOS) and Chrome Pages (Android) with Axway Titanium native mobile apps..
📝 Description
This is a repackaging of the compiled iOS and Android modules for ti.webdialog to allow for installation via npm.
🚀 Getting Started
Install @titanium/webdialog
in root of project
npm install @titanium/webdialog
✨Features
- Includes Titanium native iOS module:
ti.webdialog 2.0.0
- Includes Titanium native Android module:
ti.webdialog 2.0.0
API's
Top-Level
const webdialog = require('@titanium/webdialog');
Methods
open(arguments)
url
(String)barColor
(String)animated
(Boolean, iOS only)entersReaderIfAvailable
(Boolean, iOS only)barCollapsingEnabled
(Boolean)title
(String, iOS only)tintColor
(String, iOS only)dismissButtonStyle
(DISMISS_BUTTON_STYLE_*
, iOS only)showTitle
(Boolean, Android only)fadeTransition
(Boolean, Android only)enableSharing
(Boolean, Android only) - Enable Share... menu item to share linkcloseIcon
(String, Android only) - image path to show as close-button icon
isSupported()
-> BooleanisOpen()
(iOS only) -> Booleanclose()
(iOS only)
Properties
DISMISS_BUTTON_STYLE_DONE
(iOS only)DISMISS_BUTTON_STYLE_CLOSE
(iOS only)DISMISS_BUTTON_STYLE_CANCEL
(iOS only)
Events
open
->success
(Boolean),url
(String)close
->success
(Boolean),url
(String) - iOS onlyload
->success
(Boolean),url
(String) - iOS onlyredirect
->url
(String) - iOS only
AuthenticationSession
(iOS only)
Methods
createAuthenticationSession(arguments)
url
(String)scheme
(String)
Events
callback
->success
(Boolean),callbackURL
(String)
📚Learn More
- ti.webdialog GitHub Repo - Repo for ti.webdialog modules
📣 Feedback
Have an idea or a comment? Join in the conversation here!
©️ Legal
Modules are licensed under Apache 2.0 from https://github.com/appcelerator-modules/titanium-web-dialog
Alloy is developed by Appcelerator and the community and is Copyright © 2012-Present by Appcelerator, Inc. All Rights Reserved.
Alloy is made available under the Apache Public License, version 2. See their license file for more information.
Appcelerator is a registered trademark of Appcelerator, Inc. Titanium is a registered trademark of Appcelerator, Inc. Please see the LEGAL information about using trademarks, privacy policy, terms of usage and other legal information at http://www.appcelerator.com/legal.