mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +00:00
added toggler state list to .showDoc(..)...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
e879072675
commit
65cef61880
@ -1359,7 +1359,7 @@ var UICollectionActions = actions.Actions({
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
})],
|
})],
|
||||||
browseImageCollections: ['Image/$Collections...',
|
browseImageCollections: ['Collections|Image/$Collections...',
|
||||||
{dialogTitle: 'Image Collections...'},
|
{dialogTitle: 'Image Collections...'},
|
||||||
widgets.makeUIDialog(function(gid){
|
widgets.makeUIDialog(function(gid){
|
||||||
var that = this
|
var that = this
|
||||||
|
|||||||
@ -873,6 +873,7 @@ var UIIntrospectionActions = actions.Actions({
|
|||||||
.addClass('help-dialog')
|
.addClass('help-dialog')
|
||||||
|
|
||||||
actions.forEach(function(action){
|
actions.forEach(function(action){
|
||||||
|
var toggler = that.isToggler(action)
|
||||||
res.append($('<div class="action doc">')
|
res.append($('<div class="action doc">')
|
||||||
.prop('tabindex', true)
|
.prop('tabindex', true)
|
||||||
.append($('<h2>')
|
.append($('<h2>')
|
||||||
@ -880,10 +881,15 @@ var UIIntrospectionActions = actions.Actions({
|
|||||||
.append($('<i>')
|
.append($('<i>')
|
||||||
.text(doc[action][0]))
|
.text(doc[action][0]))
|
||||||
.append($('<div>')
|
.append($('<div>')
|
||||||
.html('Features: '
|
.html(
|
||||||
+ that.getHandlerSourceTags(action)
|
// features...
|
||||||
|
'Features: ' + that.getHandlerSourceTags(action)
|
||||||
.map(feature2lnk)
|
.map(feature2lnk)
|
||||||
.join(', ')))
|
.join(', ')
|
||||||
|
// toggler states...
|
||||||
|
+ (toggler ?
|
||||||
|
('<br>Toggler states: '+ that[action]('??').join(', '))
|
||||||
|
: '')))
|
||||||
.append($('<hr>'))
|
.append($('<hr>'))
|
||||||
// parse the action doc...
|
// parse the action doc...
|
||||||
.append($('<pre>')
|
.append($('<pre>')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user