Connect with:
About Me
Alessandro Annini
I'm a freelance developer currently working at Leaff.it/ I really love famo.us framework and its amazing potential and if you're like me, and you want the web to win, please share some snippet of code for the community and grow faster with us
Categories
Meta
Famo.us Code | Various
13
archive,category,category-various,category-13,ajax_updown_fade,page_not_loaded,,qode-theme-ver-6.2.1

Various

Definitions

This was mentioned to me by Mark Lu of Famo.us one night, and it seemed like something I should keep around for reference. IFrame -- container managed by DOM, content managed by DOM ContainerSurface -- container managed by DOM, content managed by Famo.us View -- container managed by...

A look inside Rendering

If you want to take control of rendered nodes, write a custom View with a render function. The Flipper class is a simple example (and the RenderController is a complex example of this pattern) How Famo.us renders: Every RenderNode has a render function which creates a renderSpec. The renderSpec contains information about a Modifier or Surface. The Modifier specs are used to calculate the final CSS properties. The Surface specs...

An in-depth look at images in famo.us and sizing-modes

Famo.us supports various modes for setting the size of an image. As is true for all surfaces, you can set the values of the `size` array to any of these values: undefined (sets the width/height to same as its parent) true (sets the width/height to the real size of...

How to wrap a RenderController up in a RenderNode

RenderNodes are the gods of StateModifiers. If you want to make a StateModifier for any form of renderable(EG A RenderController, A View, A Layout or even ANOTHER RenderNode), wrap it up in a RenderNode to make it constrain all of it's children to it's state.   See...

NEW Base Fiddle

You can use this one more easily just copy your gist and go! just be sure you load famousBox.js in resources [wp-js-fiddle url="http://jsfiddle.net/sunrising/Pr5Ku" style="width:100%;height:400px;border:solid #4173A0 1px;"]...

File Upload

[wp-js-fiddle url="http://jsfiddle.net/sunrising/C5PQK/" style="width:100%;height:400px;border:solid #4173A0 1px;"]...