Session storage
 

Session storage is used to store and retrieve widgelet specific information in RoamAbout. It can be used to share information across instances of the widgelet (one for each tab) in the same browser session or to make the information persistence across browser sessions. It has two API methods namely setAttribute() and getAttribute().

The widgelet data will be provided as mentioned below.
 
       var dinfo = {
        visible:true,
        iconIndex: 0,
        tooltip: "tooltiptext"
        };
                        
Get Attribute
 
RoamAbout.getAttribute(name) Samples
 
Name Optional/Required Description
name Required The name of the attribute to get the values. The value contains the widgelet data.
 
Set Attribute
 
RoamAbout.setAttribute(name, value) Samples
 
Name Optional/Required Description
name Required The name of the attribute to store the values.
value Required The array value contains the information about the application.