mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 02:10:08 +00:00
experimenting...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
47e7e85582
commit
5995d460df
@ -210,13 +210,18 @@ requirejs([
|
|||||||
//browser.items.DisplayFocusedPath,
|
//browser.items.DisplayFocusedPath,
|
||||||
//null,
|
//null,
|
||||||
function(make){
|
function(make){
|
||||||
|
// item demo...
|
||||||
make.nest(make.Heading('$Predefined Items'), [
|
make.nest(make.Heading('$Predefined Items'), [
|
||||||
make('Normal item'),
|
make('Normal item'),
|
||||||
make.Heading('Heading'),
|
make.Heading('Heading'),
|
||||||
make.Confirm('Confirm',
|
make.Confirm('Confirm',
|
||||||
function(){ console.log('confirm') },
|
function(){ console.log('confirm') },
|
||||||
function(){ console.log('reject') }),
|
function(){ console.log('reject') }),
|
||||||
make.field('field', 'value')
|
make.Empty({doc: 'Empty item...'}),
|
||||||
|
])
|
||||||
|
// filed demo...
|
||||||
|
make.nest(make.Heading('$Fields'), [
|
||||||
|
make.field('field', 'value'),
|
||||||
])
|
])
|
||||||
make.nest(make.Heading('$Dynamic Items', {
|
make.nest(make.Heading('$Dynamic Items', {
|
||||||
doc: 'Item generator examples...',
|
doc: 'Item generator examples...',
|
||||||
@ -230,6 +235,16 @@ requirejs([
|
|||||||
doc: 'Shows the value of .doc/.alt item attr...',
|
doc: 'Shows the value of .doc/.alt item attr...',
|
||||||
}),
|
}),
|
||||||
])
|
])
|
||||||
|
make.nest(make.Heading('Nesting test...'), [
|
||||||
|
make.nest('A', [
|
||||||
|
make('B'),
|
||||||
|
make('C'),
|
||||||
|
]),
|
||||||
|
make.nest('D', [
|
||||||
|
make('E'),
|
||||||
|
make('F'),
|
||||||
|
]),
|
||||||
|
])
|
||||||
|
|
||||||
make.Separator()
|
make.Separator()
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user