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
1
vote
1 answer

How to make dynamic heights for surfaces famo.us?

I want to create scrollView in famo.us/angularjs project, the problem is I have to specify the height of each surface as if I didn't it takes the height of the parent which is fa-app element, want the height to be dynamically compatible like the…
Mohamed Seif
  • 382
  • 1
  • 3
  • 14
1
vote
1 answer

What Events are Available in the Famo.us Engine

I am wanting to know what events are available to subscribe to, for the Famo.us Engine object. From the Famo.us university: the Engine also emits certain events such as 'prerender' and 'postrender.' However, due to the frequency of these events,…
Tyler Jones
  • 1,283
  • 4
  • 18
  • 38
1
vote
1 answer

How to add controls to a VideoSurface in Famo.us

As a developer I would like to be able to set controls on a VideoSurface in Famo.us. By adding a way to set them on a surface, one could set video controls like play(), pause() and stop(). That's more of a story... Anyway I need a way to set video…
Justin
  • 215
  • 1
  • 9
1
vote
2 answers

Intercepting link clicks in Famo.us

Say there's a surface declared using Famo.us containing markup content: this.mySurface = new Surface({ size : this.options.targetSize, content : 'This is a link', }); Is there an (easy) way to intercept the…
pmont
  • 2,083
  • 22
  • 43
1
vote
2 answers

Scrollview.js no 'pageChange' event on scroll back

Scrollview.js does not trigger goToPreviousPage which means there is no pageChange event happening on scrolling back. Is this an expected behaviour?
visheshd
  • 341
  • 2
  • 7
1
vote
0 answers

Absolute positioning of child views in a Famo.us ScrollView

I've a ScrollView of images, while clicking on an image (read imageSurface), I would like that one to smoothy scale to an absolute location of the screen (for example a fullscreen) this independently of the scroll state. Here is an example of a…
Flavien Volken
  • 19,196
  • 12
  • 100
  • 133
1
vote
3 answers

How to set Scrollview position?

I try to scroll a scroll view to a certain position by setPosition(x). For a short moment the scroller moves scroll area to the correct position, but bounces immediately back. How to do this right?
Jens Zastrow
  • 287
  • 1
  • 3
  • 9
1
vote
1 answer

Adding surfaces inside a surface in Famo.us

I want another three more surface inside this surface how it possible please help me This is the surface that I have created. var firstSurface = new Surface({ size: [360, 480], properties:{ …
1
vote
1 answer

add a view to scrollview and pipe to mouse

I would like to add a view to a (horizontal) scrollview and pipe to MouseSync. The Scrolling works on the Surfaces but not on the View. The Scrolling with the Mouse works fine for the Surfaces, but is completely ignored for the TestView that is…
doemsche
  • 892
  • 2
  • 12
  • 25
1
vote
1 answer

Famo.us Menu - Click - Is there another way?

I have been going over the examples and demos of Famo.us, in particular the menus. In the examples such as taasky, timbre etc. the side menu is made up of MenuItemViews. Each MenuItemView comprises of a background, icon and title - each one a…
Pandafinity
  • 713
  • 2
  • 7
  • 19
1
vote
1 answer

Famo.us Pass Event to another view

I got three js Files, AppView, NavigationMenuView, and HeaderView. I'm trying to send an event to My HeaderView when a button is pressed in NavigationMenuView. Here is what I got so far. When I click a button in navigation view an event is emitted…
1
vote
1 answer

GenericSync event not initialising on view - Famo.us

I have a view (tribeProduct) that generates a list of surfaces that are contained in a scroll view, what I want to do is a create an event that when the view is "dragged" down, an animation comes into play. The following is what I have so far that…
1
vote
1 answer

Run function when leaving InputSurface

Hi I looked around the internet and could not find on how to trigger an event when leaving a InputSurface in Famo.us. I got it to work when clicking on the inputSurface. usernameTextbox.on("click", function () { if…
1
vote
2 answers

Scrollview Pull to Refresh Famo.us

I'm trying to implement a pull to reload/refresh type effect, that you see in lots of apps, with scrollview. I've got multiple pain points on this. Just stopping a scrollview past where it wants to sit is a pain. Setting velocity or speed limit…
aintnorest
  • 1,326
  • 2
  • 13
  • 20
1
vote
1 answer

Simple 3d animation in famo.us

I am new to famo.us. I am looking to build a simple 3d animation where a object(box) keeps rotating with its color and opacity changing. Can someone suggest me some ideas on how to proceed ? I tried to use physics engine but with no success.
Steven
  • 3,962
  • 6
  • 21
  • 29