mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +00:00
docs...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
01dfa8dfad
commit
27fd29fa7e
@ -1169,11 +1169,9 @@ var BrowseActionsActions = actions.Actions({
|
|||||||
//
|
//
|
||||||
// This uses action definition to build and present an action tree.
|
// This uses action definition to build and present an action tree.
|
||||||
//
|
//
|
||||||
// This supports the following element syntax:
|
// This supports the following element (action doc) syntax:
|
||||||
// - leading '- ' in path to indicate a hidden/disabled element.
|
// - '/' separated action path (action short doc) to indicate the
|
||||||
// Example:
|
// path to action.
|
||||||
// '- Path/To/Element' (disabled/hidden)
|
|
||||||
// 'Path/To/Other element' (enabled)
|
|
||||||
//
|
//
|
||||||
// - leading path element number followed by colon to indicate
|
// - leading path element number followed by colon to indicate
|
||||||
// element priority on level.
|
// element priority on level.
|
||||||
@ -1185,6 +1183,13 @@ var BrowseActionsActions = actions.Actions({
|
|||||||
// NOTE: an item with negative priority will be below any item
|
// NOTE: an item with negative priority will be below any item
|
||||||
// with greater or no priority.
|
// with greater or no priority.
|
||||||
//
|
//
|
||||||
|
// - leading '-' in path to indicate a hidden/disabled element.
|
||||||
|
// Example:
|
||||||
|
// '- Path/To/Element' (disabled/hidden)
|
||||||
|
// '- 99:Path/To/Element' (disabled/hidden)
|
||||||
|
// 'Path/To/Other element' (enabled)
|
||||||
|
//
|
||||||
|
//
|
||||||
//
|
//
|
||||||
// Action mode (disabled/hidden) and also be controlled dynamically:
|
// Action mode (disabled/hidden) and also be controlled dynamically:
|
||||||
// - .browseMode() action method is called with actions as base.
|
// - .browseMode() action method is called with actions as base.
|
||||||
@ -1715,6 +1720,10 @@ module.ContextActionMenu = core.ImageGridFeatures.Feature({
|
|||||||
.focusImage(gid)
|
.focusImage(gid)
|
||||||
.browseActions('/Image/')
|
.browseActions('/Image/')
|
||||||
}],
|
}],
|
||||||
|
|
||||||
|
// NOTE: we are using load here and not 'start' because at start
|
||||||
|
// there may be no viewer yet...
|
||||||
|
// XXX is this a bug???
|
||||||
['load',
|
['load',
|
||||||
function(){
|
function(){
|
||||||
var that = this
|
var that = this
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user