Wijmo UI for the Web
mode Option

Default value: 'ribbon'

Specify which toolbar to render. Ribbon and simple modes allow you to customize the toolbar.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  string
    returnsValue = $(".selector").wijeditor("option", "mode");
    
    // Set value
    var newValue; // Type:  string
    $(".selector").wijeditor("option", "mode", newValue);
        
});
Javascript (Specification) 
var mode : string;
Remarks
For more information on customizing the toolbar, see editor samples "Customize" and "Customize Simple." ribbon -- Includes the most commonly used tool buttons. simple -- Includes fewer buttons, is much smaller, and takes up less space. bbcode -- Includes buttons used with Bulletin Board Code, a markup language used to format posts in message boards.
Browser Compatibility
7
5
5

See Also

Reference

options type
wijeditor jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.