From 32bc8544acc2e1610b8a9e0ed76730feb894825c Mon Sep 17 00:00:00 2001 From: sabithpocker Date: Wed, 24 Sep 2014 14:45:32 +0530 Subject: [PATCH] Added a Side Note Adding surfaces to ScrollView covers the simplest cases. Most real life scenarios need Views added to Scroll Views. Added a hint to make that easy. May be add a complete example for this later. --- src/examples/views/Scrollview/example.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/examples/views/Scrollview/example.js b/src/examples/views/Scrollview/example.js index 4c3300b..ff8f088 100644 --- a/src/examples/views/Scrollview/example.js +++ b/src/examples/views/Scrollview/example.js @@ -34,6 +34,12 @@ * * In this example, we have a Scrollview that sequences over * a collection of surfaces that vary in color + * + * Side Note : If you are adding an array of childViews to a scrollView + * you can pipe each childView to scrollView. + * At the same time pipe surfaces in childView to + * `_eventOutput` of childView to make the connection complete. + * */ define(function(require, exports, module) { var Engine = require("famous/core/Engine");