Skip to content

2.2 Changes

Jason Best edited this page Jun 18, 2013 · 5 revisions

2.2 Changes

All diffs from 2.1 to 2.2: https://github.com/SageSalesLogix/argos-sdk/compare/2.1...2.2

General

  • Added onTitleClick handler for the main toolbar
  • Added ability to pass in a title for a detail layout
  • Added ability to set the search term/text on a list via setSearchTerm(value)
  • Added ability to fire the search on a list via seach()
  • Added Snap.js to libraries (https://github.com/jakiestfu/Snap.js/)
  • Added Overthrow to libraries (https://github.com/filamentgroup/Overthrow)
  • List views now load more data when scrolling reaches the bottom
  • This is configurable via a "continuousScrolling" property (defaults to true)
  • List views now scroll in a div (Overthrow is used as a polyfill for older devices that do not support overflow: auto in div elements)
  • A view's dom node is no longer placed directly in the document body. A new div with the id "viewContainer" has been created to place all views and toolbars
  • A new div with a class of "drawers" has been created to hold snap.js drawers/menus
  • The drawers div has two children (left-drawer and right-drawer)
  • Added new view: FileSelect
  • Added new utility method: joinFields(seperator /*string*/, fields /*array*/). This is useful to join fields in Simplate templates with a seperator. joinFields will filter out null, undefined, and empty strings. Example usage: Utility.joinFields(' | ', [$.AccountName, $.Title])
  • List views now have a listLoading flag that indicates the list is fetching data

Fixes

Clone this wiki locally