Mobile Safari API calls that trigger associated iPhone apps. Just a few shortcuts to the link types.
call
Opens the Phone app which places a call to the specified number. Shortcut for <a href=”call:312.555.1234″>.
Syntax:
lg.call(position);
Arguments:
- phone – (string) Phone number to dial.
Example:
lg.call('312.555.1234');
Opens the default Mail app on the iPhone. Shortcut for <a href=”mailto:liquidgear@googlegroups.com”>.
Syntax:
lg.email(email);
Arguments:
- email – (string) Email address to place in the “To” field.
Example:
lg.email('liquidgear@googlegroups.com');
sms
Opens the Messaging app on the iPhone. Shortcut for <a href=”sms:312.555.1234″>.
Syntax:
lg.sms(phone);
Arguments:
- phone – (string) Phone number to send a text message.
Example:
lg.sms('312.555.1234');
