Wijmo UI for the Web
compactMode Option
wijmo.ribbon.wijribbon Namespace > options type : compactMode Option

Default value: false

If the compactMode option is true and ribbon is not simple,it will show compact mode.

Syntax
$(function () {
    
    // Get value
    var returnsValue; // Type:  boolean
    returnsValue = $(".selector").wijribbon("option", "compactMode");
    
    // Set value
    var newValue; // Type:  boolean
    $(".selector").wijribbon("option", "compactMode", newValue);
        
});
var compactMode : boolean;
Remarks
Wijribbon automatically handles resetting compactMode and forming groups for the buttons when the user resizes the window.
See Also

Reference

options type
wijribbon jQuery Widget