// wrapped by build app define("dojox/widget/SortList", ["dijit","dojo","dojox","dojo/require!dijit/layout/_LayoutWidget,dijit/_Templated"], function(dijit,dojo,dojox){ dojo.provide("dojox.widget.SortList"); dojo.experimental("dojox.widget.SortList"); // level: prototype, designed for dijit.chat.demo dojo.require("dijit.layout._LayoutWidget"); dojo.require("dijit._Templated"); dojo.declare("dojox.widget.SortList", [dijit.layout._LayoutWidget, dijit._Templated], { // summary: A sortable unordered-list with a fixed header for use in dijit.demos.chat // for demonstration purposes only for now. feel free to make API suggestions // or fixes. // // title: String // The title in the header title: "", // heading: String // In the event a parent container is expecting a title="" attribute, set it for the parent // via title, and the title of this widget via heading="" ... assuming you want different // titles for each. eg: TabContainer, AccordionContainer, etc. heading: "", // descending: Boolean // Toggle sort order based on this value. descending: true, // selected: Array // A list of the selected