forked from 0x2620/oxjs
some support for adding/removing places
This commit is contained in:
parent
6229b16a59
commit
ccc4a743d8
4 changed files with 76 additions and 44 deletions
|
|
@ -1213,6 +1213,7 @@ Ox.List = function(options, self) {
|
|||
clear();
|
||||
self.requests.push(self.options.items({}, function(result) {
|
||||
var keys = {};
|
||||
Ox.print('INIT!!!', result.data)
|
||||
that.triggerEvent('init', result.data);
|
||||
self.rowLength = getRowLength();
|
||||
self.pageLength = self.options.orientation == 'both' ?
|
||||
|
|
@ -1320,7 +1321,7 @@ Ox.List = function(options, self) {
|
|||
addItems <f> add item to list
|
||||
(pos, items) -> <u> add items to list at position
|
||||
pos <n> position to add items
|
||||
items <a> array of items ot add
|
||||
items <a> array of items to add
|
||||
@*/
|
||||
that.addItems = function(pos, items) {
|
||||
var $items = [],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue