Window for fun and profit
LSD.Widget.Window = new Class({
Includes: [
LSD.Widget.Paint,
LSD.Trait.Animation
],
States: {
'closed': ['close', 'open'],
'collapsed': ['collapse', 'expand'],
'minified': ['minify', 'enlarge', 'mutate']
},
options: {
tag: 'window'
}
});