Showing posts with label yui. Show all posts
Showing posts with label yui. Show all posts

Monday, March 19, 2012

YUI LayoutUnit collapse

One can use layout.getUnitByPosition('left').collapse() and layout.getUnitByPosition('left').expand() to the layout units (except 'center' layout unit) in YUI's Layout.

Once the layout unit is collapsed, the size is determined by the attribute 'collapseSize'.

Anyway, YUI is something historical now.

Learning System Design with Cute Animation

 This one is superb -  https://designed-to-scale.vercel.app/