public
Created

  • Download Gist
gistfile1.js
JavaScript
1 2 3 4 5 6 7 8 9
YUI().use('node', function(Y) {
var node = Y.one("#demo");
Y.log("found node...setting style");
node.setStyles({
backgroundColor: 'blue',
height: '100px',
width: '100px'
});
});

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.