some experimenting...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-12-25 07:19:33 +03:00
parent c143cb7eec
commit f4ad8d562a

View File

@ -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', [