+ Added documentation for the hide/show expand control functions.

This commit is contained in:
Aza Raskin 2010-06-19 18:49:08 -07:00
parent 0168865d37
commit 8872ac2b18

View File

@ -808,11 +808,15 @@ window.Group.prototype = iQ.extend(new Item(), new Subscribable(), {
},
// ----------
// Function: hideExpandControl
// Hide the control which expands a stacked group into a quick-look view.
hideExpandControl: function(){
this.$expander.hide();
},
// ----------
// Function: showExpandControl
// Show the control which expands a stacked group into a quick-look view.
showExpandControl: function(){
var childBB = this.getChild(0).getBounds();
var dT = childBB.top - this.getBounds().top;