From 934d2a000cc30910b6000fce4a28ae9259191560 Mon Sep 17 00:00:00 2001 From: Ryan Miller Date: Sat, 22 Mar 2014 19:04:38 -0700 Subject: [PATCH] Clarify need for touch event emulation in browser. Hung me up for a second before SO pointed out that push.js only listens to touch events. This'll point other n00bs like me in the right direction. --- docs/getting-started.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/getting-started.html b/docs/getting-started.html index 2c2c576..194c250 100644 --- a/docs/getting-started.html +++ b/docs/getting-started.html @@ -25,7 +25,7 @@ title: Getting started · Ratchet

Use the documentation as a reference for all the available components and piece together the pages of your app. Be sure to look at the basic page template and example applications. Make sure to add ratchet-theme-ios.css or ratchet-theme-android.css to your app's <head> if you have a specific platform in mind.

2. Connect pages with push.js

-

Read about push.js then start connecting your pages. Push.js allows you to create a app that feels like a real app when you save it to your phone. (Need to have a server running).

+

Read about push.js then start connecting your pages. Push.js allows you to create a app that feels like a real app when you save it to your phone. Make sure that you have a server running, and that your browser is emulating touch events. Check out this tutorial on emulating touch events in Chrome (or Firefox) if you're not sure how to do that.

3. Save the app to your phone

There are a few ways to do this, but the simplest is to run a local server on your computer, point Safari on your iPhone to your computer, then click the button and "Add to Home Screen". For Android, check out this guide.