mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 02:10:08 +00:00
docs...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
24bb04536c
commit
2ac7223d54
@ -503,19 +503,19 @@ module.SortActions = actions.Actions({
|
|||||||
this.data.updateImagePositions()
|
this.data.updateImagePositions()
|
||||||
}],
|
}],
|
||||||
|
|
||||||
// Toggle sort modes...
|
|
||||||
//
|
|
||||||
// This is similar to sort images but it will also maintain
|
|
||||||
// .data.manual_order state.
|
|
||||||
//
|
|
||||||
// NOTE: a state can be passed appended with reverse, e.g.
|
|
||||||
// .toggleImageSort('Date') and .toggleImageSort('Date reverse')
|
|
||||||
// both will set the sort method to 'Date' but the later will
|
|
||||||
// also reverse it.
|
|
||||||
//
|
|
||||||
// XXX should we merge manual order handling with .sortImages(..)???
|
// XXX should we merge manual order handling with .sortImages(..)???
|
||||||
// XXX currently this will not toggle past 'none'
|
// XXX currently this will not toggle past 'none'
|
||||||
toggleImageSort: ['- Edit|Sort/Image sort method',
|
toggleImageSort: ['- Edit|Sort/Image sort method',
|
||||||
|
core.doc`Toggle sort modes...
|
||||||
|
|
||||||
|
This is similar to sort images but it will also maintain
|
||||||
|
.data.manual_order state.
|
||||||
|
|
||||||
|
NOTE: a state can be passed appended with reverse, e.g.
|
||||||
|
.toggleImageSort('Date') and .toggleImageSort('Date reverse')
|
||||||
|
both will set the sort method to 'Date' but the later will
|
||||||
|
also reverse it.
|
||||||
|
`,
|
||||||
toggler.Toggler(null,
|
toggler.Toggler(null,
|
||||||
function(){
|
function(){
|
||||||
return (this.data
|
return (this.data
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user