/* Copyright (c) 2004-2012, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ if(!dojo._hasResource["dojox.widget.SortList"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. dojo._hasResource["dojox.widget.SortList"] = true; 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