B2G/gecko/browser/components/tabview/groupitems.js
// Sets whether the groupItem is resizable and updates the UI accordingly.
Sets whether the groupItem is resizable and updates the UI accordingly.
Sets whether the groupItem is resizable and updates the UI accordingly .
function GroupItem_setResizable(value, immediately) {
    var self = this;
    this.resizeOptions.minWidth = GroupItems.minGroupWidth;
    this.resizeOptions.minHeight = GroupItems.minGroupHeight;
    let start = this.resizeOptions.start;
    this.resizeOptions.start = function (event) {
      start.call(self, event);
      self._unfreezeItemSize();
    }
    if (value) {
      immediately ? this.$resizer.show() : this.$resizer.fadeIn();
      this.resizable(true);
    } else {
      immediately ? this.$resizer.hide() : this.$resizer.fadeOut();
      this.resizable(false);
    }
  }
function GroupItem_setResizable ( value , immediately ) { var self = this ; this . resizeOptions . minWidth = GroupItems . minGroupWidth ; this . resizeOptions . minHeight = GroupItems . minGroupHeight ; let start = this . resizeOptions . start ; this . resizeOptions . start = function ( event ) { start . call ( self , event ) ; self . _unfreezeItemSize ( ) ; } if ( value ) { immediately ? this . $resizer . show ( ) : this . $resizer . fadeIn ( ) ; this . resizable ( true ) ; } else { immediately ? this . $resizer . hide ( ) : this . $resizer . fadeOut ( ) ; this . resizable ( false ) ; } }
Sets whether the groupItem is resizable and updates the UI accordingly.
Sets whether the groupItem is resizable and updates the UI accordingly .