diff --git a/README.md b/README.md index 39569aa..d1fc1e1 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,10 @@ frame-bridge This module simplifies communication between a parent page and an embedded page (i.e. a page inside an iframe) on another domain. By using the post message api under the hood, FrameBridge enables you to define an api on both sides (web page and iframed page) and expose it to the other side, thus creating a "bridge" between the frames. The api supports return values from the remote side of the bridge using promises which makes calling functions across domains very intuitive. +## Installation + +`bower install frame-bridge` + ## Usage 1) Include the api in both parent and child