mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
more docs...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
d2decf9eaa
commit
91bf825bc3
@ -636,6 +636,16 @@ module.Logger = ImageGridFeatures.Feature({
|
||||
// this can happen for instance in ig.js when starting a minimal
|
||||
// imagegrid instance and then adding new features -- these new
|
||||
// features will not get their .start() (and friends) run...
|
||||
// There are three stages here:
|
||||
// - feature setup
|
||||
// things the feature needs to run -- <feature>.setup(..)
|
||||
// - app start
|
||||
// things the app wants to do on start
|
||||
// - ???
|
||||
// things feature action needs to run in cli should be
|
||||
// documented and not depend on .start(..)
|
||||
// ...or there should be a way to "start" the new features...
|
||||
// XXX put this in the docs...
|
||||
// XXX should his have state???
|
||||
// ...if so, should this be a toggler???
|
||||
var LifeCycleActions = actions.Actions({
|
||||
@ -695,6 +705,7 @@ var LifeCycleActions = actions.Actions({
|
||||
|
||||
This will trigger .started() event when done.
|
||||
|
||||
|
||||
NOTE: .runtime attribute will not be available on the .pre handler
|
||||
phase.
|
||||
NOTE: .requestReadyAnnounce() should be called exclusively on the
|
||||
@ -3040,6 +3051,7 @@ var TaskActions = actions.Actions({
|
||||
return link }
|
||||
|
||||
// create a link...
|
||||
// NOTE: we intentionally disable ui here and do not trigger .start()...
|
||||
link = ImageGridFeatures.setup([...this.features.input, '-ui'])
|
||||
return Object.assign(
|
||||
link,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user