Questions tagged [famo.us]

Famo.us is a JavaScript rendering and physics engine for creating web applications with high-performance 3D user interfaces.

Famo.us features a rendering engine that avoids slow DOM-layout and repaint calculations. Instead, it leverages the GPU using CSS3 transform.

Famo.us provides a JavaScript framework designed to build rich, interactive web applications. Famo.us takes an opinionated approach to web development, maintaining a tight control of rendering to achieve performance. The framework also maintains strict modularity for flexibility. Paired with server-side technology designed to match Famo.us on the front end, you can finally create high quality applications that were once reserved only for native development.

For more information see project website Famous.org

The prior version (v.0.3.5) site can be found at deprecated.famous.org

478 questions
0
votes
0 answers

( famo.us + cordova )has no method 'now' at http://code.famo.us/famous/0.2/famous.min.js:48

I am integrating famo.us application with apache cordova, i've followed the following steps to achieve this task 1) Installed the cordova , famo.us and all the other packges necessary to build cordova as well as famo.us applications 2) I've created…
Ahsan Hussain
  • 75
  • 1
  • 6
0
votes
1 answer

Setting size: Modifier vs Surface

What is the difference between setting size on a modifier vs setting the size on the surface itself? It is my understanding that an individual surface is laid out based on the composition of modifiers it has been added to. Do the (state)modifiers…
Joseph Carroll
  • 465
  • 6
  • 15
0
votes
1 answer

how do we animate folding of a surface in famo.us?

I have a surface. I need to animate it to fold (origin) making two halves of surface to one. originMod = new Modifier({ origin: [0.5, 0.5] }); originMod.setTransform(Transform.rotateY(-2), { duration: 500, curve:…
0
votes
2 answers

How to make a Famo.us Scrollview not bounce

I have a client that doesn't like the bounce effect on the edge hit of the scrollview. So I'm looking to make the scrollview not bounce and act more 'normal'. In truth I'd really like it to bounce but only on the top. From looking at the scrollview…
aintnorest
  • 1,326
  • 2
  • 13
  • 20
0
votes
1 answer

How do I load dynamic content (ajax) for a surface in famo.us?

My problem is the following: I have many surfaces associated with one unique url. When I move to a particular surface the url has to be fired on realtime (ajax) and the response should be set as the content of the surface. When I try to do the the…
0
votes
2 answers

Setting Size via an object in Famo.us / Angular

So the objective is to make some buttons the size of 20% of the width & height of the screen. In regular Famo.us, this works: var ww = window.innerWidth * .2; var hh = window.innerHeight * .2; // later in the code for(var i = 0; i < 2; i++) { …
tskweres
  • 31
  • 4
0
votes
0 answers

Random "Uncaught TypeError" problems after Meteor 0.9.x upgrade

I intermittently get these errors on load: Uncaught TypeError: Cannot read property 'xyz' of undefined Clearing the browser cache and reloading sometimes clears up the problem, so it is most likely async/load order related. The basic code works,…
Tim Smith
  • 1
  • 1
0
votes
2 answers

Why is it not possible to add the same modifier to the context twice?

I've been playing around with the positioning Famo.us course: http://famo.us/university/famous-101/positioning/ On page 4 they talk about chaining modifiers. Why is it not possible to reuse the same modifier more than once? I tried the following…
Joseph Carroll
  • 465
  • 6
  • 15
0
votes
1 answer

How to minify famous.angular without DI errors?

I'm running into some issues with famous-angular when minified. A couple of the PRs I submitted yesterday were attempts to fix this, but these don't appear to have resolved the issue. When built without minfication, everything works as…
bguiz
  • 27,371
  • 47
  • 154
  • 243
0
votes
1 answer

Build a Famo.us iOS app

I have followed the Famo.us tutorial thinking that I would be able to get an iOS app at the end of it. So far, I can build browser apps using the Famo.us JavaScript API, but I cannot get any documentation explaining how to convert my browser app…
Randomblue
  • 112,777
  • 145
  • 353
  • 547
0
votes
1 answer

famo.us inputsurface change/onchange event

using latest Chrome browser. even after wiring up the onchange event for an inputsurface the dirty way since there is no extended event to just do inputsurface.on('change',function(){}): MyInputSurface.prototype.deploy = function deploy(target) { …
0
votes
2 answers

using a famo.us surface to link to another URL

Seems like this should be obvious but...How can you use a famo.us surface as a link to another webpage? I've tried: this.fooSurface.on("click", function(){ window.location.replace("www.foo.com"); }); but this doesn't replace the URL, it…
Sam Seidenberg
  • 153
  • 1
  • 7
0
votes
1 answer

inserting famo.us container into a wordpress site

A recent famo.us newsletter stated they were working on "Crawl: A basic Wordpress site with Famo.us containers sprinkled in." Is this only possible through wordpress.org, or could you one use famo.us through wordpress.com sites as well? If so, how…
Sam Seidenberg
  • 153
  • 1
  • 7
0
votes
1 answer

famo.us - garbage collection - issue

I'm authoring a desktop web application using famo.us. The nature of the application is to run some animation based on user input and server responses. After running the application for some time and inspect heap, it reveals that, every single…
0
votes
2 answers

Make Famo.us ScrollView scroll to end

I'm trying to make ScrollView automatically scroll to the end of the whole element. I've noticed that scrollview.setVelocity(-700); // OR scrollview.setPosition(1000); will do the trick, but the amount required to get all the way to the end makes…
luopio
  • 507
  • 4
  • 14