mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 02:10:08 +00:00
some experimenting...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
c143cb7eec
commit
f4ad8d562a
@ -788,6 +788,13 @@ var ExampleUIActions = actions.Actions({
|
||||
})],
|
||||
exampleDialogListerL: ['Test/Combined dialog & lister (lister mode)/*',
|
||||
'exampleDialogLister: ...'],
|
||||
|
||||
testList: ['Test/List/*',
|
||||
function(path, make){ return function(){
|
||||
make('A')
|
||||
make('B')
|
||||
make('C')
|
||||
} }],
|
||||
})
|
||||
|
||||
var ExampleUI =
|
||||
@ -799,6 +806,9 @@ module.ExampleUI = core.ImageGridFeatures.Feature({
|
||||
depends: [
|
||||
'ui-browse-actions',
|
||||
],
|
||||
suggested: [
|
||||
'ui-action-examples-2',
|
||||
],
|
||||
actions: ExampleUIActions,
|
||||
|
||||
handlers: [
|
||||
@ -807,6 +817,34 @@ module.ExampleUI = core.ImageGridFeatures.Feature({
|
||||
|
||||
|
||||
|
||||
//---------------------------------------------------------------------
|
||||
|
||||
var ExampleUI2Actions = actions.Actions({
|
||||
testList: ['Test/List/*',
|
||||
function(path, make){ return function(){
|
||||
make('---')
|
||||
make('X')
|
||||
make('Y')
|
||||
make('Z')
|
||||
} }],
|
||||
})
|
||||
|
||||
var ExampleUI =
|
||||
module.ExampleUI = core.ImageGridFeatures.Feature({
|
||||
title: '',
|
||||
doc: '',
|
||||
|
||||
tag: 'ui-action-examples-2',
|
||||
depends: [
|
||||
'ui-action-examples',
|
||||
],
|
||||
actions: ExampleUI2Actions,
|
||||
|
||||
handlers: [
|
||||
],
|
||||
})
|
||||
|
||||
|
||||
//---------------------------------------------------------------------
|
||||
|
||||
core.ImageGridFeatures.Feature('examples', [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user