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

What is the method changing the size of wall in Famo.us platform?

Does anyone know the method which changes the size of the wall in Famo.us platform? I already found the property, distance, to locate the wall but having hard time to figure the size problem.
0
votes
1 answer

Famo.us scrollview positioning

In my context I have a scroll view, and I'm trying to position the child elements within the view using origin/align properties in a state modifier. However for some reason, when I scroll to the bottom, the last surface isn't displayed correctly. I…
0
votes
2 answers

Resizing surfaces in a Famo.us Scrollview

i'd like to manipulate the sizes of surfaces in a famo.us ScrollView, ideally with a transition. the RenderNode() trick for doing this in a SequentialLayout, (Surface->Modifier->RenderNode) doesn't apply because it can't handle the .pipe().. and…
spencercooly
  • 6,548
  • 2
  • 23
  • 15
0
votes
1 answer

how to use famo.us with a fixed viewport / screen size?

when building famo.us apps, how are people dealing with screensizes for different devices? i actually do NOT want to do a responsive layout - i would be happy with just scaling the content to fit the device. Although we can use % positioning for…
dcsan
  • 11,333
  • 15
  • 77
  • 118
0
votes
1 answer

famo.us - how to get a callback when a paginated scrollview goes to a new page?

I'm using a paginated famous scrollview, and want to load some extra content when the user swipes to a new page. I can't see any callbacks or way to set this up. I would expect to be able to do something like myview.onChange = function(page) { //…
dcsan
  • 11,333
  • 15
  • 77
  • 118
0
votes
1 answer

Famo.us how to create a Select Surface or something equivalent

I need a select box with options and an on select / on change so i can populate a second select box. My first instinct was to just create one using a surface with a click event and a renderController / scrollview to make my drop down appear. This…
aintnorest
  • 1,326
  • 2
  • 13
  • 20
0
votes
1 answer

famo.us: Access content of surface attached to a view within an array

I'm using a loop to push a number of views to an array. Attached to each view is a modifier and a surface. var surfaces = []; for(var i = 0; i<8; i++) { var gridSurfaceView = new View(); var gridSurface = new Surface({ size: [25,…
Sam Seidenberg
  • 153
  • 1
  • 7
0
votes
1 answer

famo.us - HeaderFooterLayout - Bottom center aligned element inside content goes behind/above footer

I'm using HeaderFooterLayout of famo.us. My requirement is, to place a view bottom aligned to the content view in the HeaderFooterLayout. But, the element, instead of snapping to the bottom of content area, it is overlapping with the footer. It…
0
votes
2 answers

Consume JSON in Famo.us

I have been working with Famo.us just for a short while but now I am in need of consuming some JSON. In jQuery I would use the getJSON method to make the JSON call and get the data back in an object. Is there a way to do this in pure Famo.us? I ask…
Tim Daley
  • 145
  • 3
  • 10
0
votes
1 answer

Famo.us - triggering event and piping

Let's say I have three Views. AppView, MenuView and StripView. MenuView contains multiple StripViews and AppView contains one MenuView. How can I trigger event from StripView and listen on that event on AppView. EDIT Let's say I want to click on…
Sysrq147
  • 1,359
  • 4
  • 27
  • 49
0
votes
2 answers

Famo.us - this.add and this_add

What is difference betwen using this.add and this._add in Famo.us framework. I am little confused with that _add part (naimin conventions that underscore in front of variable or method name 'mimics' private variable or method), but in code ther is…
Sysrq147
  • 1,359
  • 4
  • 27
  • 49
0
votes
1 answer

How to scroll a big surface ? (ex. an article)

In my prototype famo.us app, I have a HeaderFooter View displaying an "about" page as its content. This page has a lot of text which doesn't fit on a mobile screen. However, famo.us won't scroll this surface. I tried to put the surface inside a…
Offirmo
  • 18,962
  • 12
  • 76
  • 97
0
votes
2 answers

How to implement Slide to delete in Famo.us with proper event handling

I'm trying to implement a slide to delete. As part of that I have a layer with opacity set to 0 the idea being I'm trying to set several if clauses to gradual change the opacity of the surface so that the word Delete gentle appears as you slide it…
aintnorest
  • 1,326
  • 2
  • 13
  • 20
0
votes
1 answer

Famo.us - Anchor tag as content of Surface

Is it possible to use anchor tag as content of Famo.us Surface? function _createTitle() { var titleSurface = new Surface({ size: [true, true], content: this.options.title, //Click me ! properties: { …
Sysrq147
  • 1,359
  • 4
  • 27
  • 49
0
votes
1 answer

Issue related to getting value from AJAX Call in Famo.us

I am new in Famo.us framework. i have small Application in Famo.us framework. I have following Code: define(function (require, exports, module) { var Surface = require('famous/core/Surface'); var Modifier = require('famous/core/Modifier'); …
ghanshyam.mirani
  • 3,075
  • 11
  • 45
  • 85