Provided as distinct CJS modules, installable via npm
Individual modules of es5-ext package. See ES6 features for usage information.
| /** | |
| * Scrollview Debug Environment | |
| * ------------ | |
| */ | |
| define(function(require, exports, module) { | |
| var Engine = require("famous/core/Engine"); | |
| var Surface = require("famous/core/Surface"); | |
| var Modifier = require('famous/core/Modifier'); | |
| var ScrollContainer = require("famous/views/ScrollContainer"); | |
| var GridLayout = require('famous/views/GridLayout'); |
| /* | |
| This is an extension of the famo.us Surface type. It behaves the exact same except that the content | |
| property holds a ProxyConstructor object (the type that gets returned by any of the React component | |
| functions such as those in React.DOM or created by React.createClass) instead of a string or Node. | |
| One thing to note is that the component fed in to content will get an extra prop, _surface, which | |
| is the surface object that holds it | |
| example usage | |
| var TestComponent = React.createClass({ |
Individual modules of es5-ext package. See ES6 features for usage information.
| testing |