All Versions
Gadgets and Dashboards 3.0Gadgets and Dashboards 2.0
Gadgets and Dashboards 1.0
More...
This page is part of the Gadget Developers' JavaScript Cookbook.
Use the gadget object API for createCookie
, readCookie
and eraseCookie
:
view: {
template: function(args) {
var gadget = this;
gadget.createCookie("columnOrder", "assignee", 30);
var columnOrder = gadget.readCookie("columnOrder");
gadget.eraseCookie("columnOrder");
}
}
Gadget Developers' JavaScript Cookbook
Using the Atlassian Gadgets JavaScript Framework