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 | 2014 August
0
archive,date,ajax_updown_fade,page_not_loaded,,qode-theme-ver-6.2.1

August 2014

Event System

This article is by Mark Marijnissen  [from a post on Famo.us Google Group]   EventEmitter.js EventEmitter is the source of all events. emit(type,event) (a.k.a. trigger): Emits an event to everybody listening (= invoke callbacks) addListener(type,callback) (a.k.a on): Listen to an event (= add callback) Chaining Imagine the following: C (an App-Router) is listening to B (a Menu-View) is listening to A (a Menu-Item-Surface). So a click event is emitted...

Famo.us package for ATOM.io editor

Hi! I just made this package for Atom.io editor! This adds autocompletes and snippets to this popular editor.   More details here: Famous support in Atom   ..this is the repo on github: https://github.com/sun2rise/famous-atom any contribution is appreciated, give me feedback about this so i can add other useful autocompletes and snippets.   Cheers my dears, Alessandro  ...

SwipeSync for Famo.us

The SwipeSync component allows you to have simple swiping support in four directions. Personally I use these for app navigation. Swiping east (left to right) means go back to the parent page (eg if the current location is home -> categories -> pie: go to categories) Swiping west means...

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...