Skip to content

Instantly share code, notes, and snippets.

@CDRussell
Last active January 13, 2018 17:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CDRussell/820aa5911797f48c8ebdc4f1726849d9 to your computer and use it in GitHub Desktop.
Save CDRussell/820aa5911797f48c8ebdc4f1726849d9 to your computer and use it in GitHub Desktop.
Sending Commands
// user clicked on a `tel:` link
command.value = Command.DialNumber(telephoneNumber)
// user clicked on a `sms:` link
command.value = Command.SendSms(telephoneNumber)
// user clicked on a `mailto:` link
command.value = Command.SendEmail(emailAddress)
// need to refresh the `WebView`
command.value = Refresh()
// need to navigate to particular URI
command.value = Navigate("https://duckduckgo.com")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment