mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
minor stuff...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
b99a152175
commit
1edd5decc4
@ -264,6 +264,28 @@ var BaseBrowserPrototype = {
|
|||||||
// carefully + strictly document the result...
|
// carefully + strictly document the result...
|
||||||
item_index: null,
|
item_index: null,
|
||||||
|
|
||||||
|
// XXX what should these return??? (item, id, ...)
|
||||||
|
__focused: undefined,
|
||||||
|
get focused(){
|
||||||
|
return this.__focused
|
||||||
|
|| (this.__focused = this
|
||||||
|
// XXX should we simple bailout when we find an item???
|
||||||
|
.filter(function(e){
|
||||||
|
return e.focused })[0]) },
|
||||||
|
set focused(value){
|
||||||
|
// XXX
|
||||||
|
},
|
||||||
|
|
||||||
|
__selected: null,
|
||||||
|
get selected(){
|
||||||
|
return this.__selected
|
||||||
|
|| (this.__selected = this
|
||||||
|
.filter(function(e){
|
||||||
|
return e.selected })) },
|
||||||
|
set selected(value){
|
||||||
|
// XXX
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
// Item list constructor...
|
// Item list constructor...
|
||||||
//
|
//
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user