-
Notifications
You must be signed in to change notification settings - Fork 6
2.2 Changes
Jason Best edited this page Jun 18, 2013
·
5 revisions
All diffs from 2.1 to 2.2: https://github.com/SageSalesLogix/argos-sdk/compare/2.1...2.2
- 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
- Fixed issue where transitionTo was setting the search query to null.(https://github.com/SageSalesLogix/argos-sdk/commit/a49cb0efd82ebbb87cf562c9c76f0c2bcb836c19)
- Documentation comments fixed