TWebShare
Description
The TWebShare
non-visual component allows to put text, links and/or files on the share sheet of a mobile device from a regular web client application or from a PWA
. It is a requirement that the application is hosted on an SSL
enabled domain, i.e. accessed via a HTTPS URL
.
Methods for TWebShare
Method | Description |
---|---|
Share(ATitle, Atext, AURL: string); | Puts a text on the mobile device share sheet. This can be accompagnied by an URL . A title can be set to show in addition to the share dialog on the mobile device. |
Share(Atitle, Atext, AURL, AFiles: TJSHTMLFileArray | Puts a text on the mobile device share sheet. This can be accompagnied by an URL. A title can be set to show in addition to the share dialog on the mobile device. In addition to text, an URL, it can also put files on the share sheet. The AFiles parameter is an array of JavaScript file types. |
CanShareFiles: boolean | Function returns true when the mobile device browser can also put files on the share sheet |