Menu
  • HOME
  • TAGS

Transitionable callback not working in Famous Engine

famous-engine

The reason there is no call to the callback function is that the Transitionable is updated on a get() and does not complete until all iterations in the queue item have completed. From Guides: It is important to note that Transitionables do not update on their own, they instead calculate...

Why doesn't setting the size of a Node using Size Component in Famous Engine work?

famous-engine

Let's look at Sizing in Famous Guides As you stated, a Node can be sized using it's size methods. The node can also process sizing using a component that manages the sizing methods of the node during onUpdate. What's Wrong? The example is trying to use the internal Size class....

Uncaught TypeError: object is not a function when inheriting from Node using Famous-Engine

javascript,famous-engine

Make sure to set your exports for the new Card class. module.exports = Card; var DOMElement = require('famous/dom-renderables/DOMElement'); var FamousEngine = require('famous/core/FamousEngine'); var Transitionable = require('famous/transitions/Transitionable'); var Node = require('famous/core/Node'); function Card() { Node.call(this); this.setAbsoluteSize(250, 250); this.setSizeMode('absolute', 'absolute'); this.setPosition(FIRST_X_POSITION, Y_POSITION); this.nodeDomElement = new DOMElement(this);...