forked from 0x2620/oxjs
selectbefore/selectafter -> selectprevious/selectnext
This commit is contained in:
parent
9d802dbf49
commit
74e6c12904
4 changed files with 19 additions and 19 deletions
|
|
@ -50,8 +50,8 @@ Ox.List <f> List constructor
|
|||
openpreview <!> preview of selected item opened
|
||||
closepreview <!> preview closed
|
||||
select <!> select item
|
||||
selectafter <!> selectafter
|
||||
selectbefore <!> selectbefore
|
||||
selectnext <!> selectnext
|
||||
selectprevious <!> selectprevious
|
||||
toggle <!> toggle
|
||||
@*/
|
||||
|
||||
|
|
@ -1178,7 +1178,7 @@ Ox.List = function(options, self) {
|
|||
select(pos);
|
||||
scrollToPosition(pos);
|
||||
} else if (self.selected.length) {
|
||||
that.triggerEvent('selectafter');
|
||||
that.triggerEvent('selectnext');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1192,7 +1192,7 @@ Ox.List = function(options, self) {
|
|||
select(pos);
|
||||
scrollToPosition(pos);
|
||||
} else if (self.selected.length) {
|
||||
that.triggerEvent('selectbefore');
|
||||
that.triggerEvent('selectprevious');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue