docs + tweaking...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-08-24 01:14:36 +03:00
parent e8c26df382
commit 2d86b1bfef

View File

@ -1275,13 +1275,11 @@ var ControlActions = actions.Actions({
}, },
// Image click events... // Image click events...
imageBlockClick: ['- Interface/Image block click event', imageOuterBlockClick: ['- Interface/Image outer block click event',
core.doc`Image block click event core.doc`Image outer block click event
This is triggered on any click on an image block. This is triggered on click on an image block but outside of the
actual image.
imageClick event if triggered is run between the .pre()/.post()
stages of this event.
The .pre(..) stage of the event is called before the clicked The .pre(..) stage of the event is called before the clicked
image is focused and the .post(..) stage is called after focusing image is focused and the .post(..) stage is called after focusing
@ -1294,11 +1292,13 @@ var ControlActions = actions.Actions({
// //
// Not for direct use. // Not for direct use.
})], })],
imageOuterBlockClick: ['- Interface/Image block click event', imageBlockClick: ['- Interface/Image block click event',
core.doc`Image outer block click event core.doc`Image block click event
This is triggered on click on an image block but outside of the This is triggered on any click on an image block.
actual image.
imageClick event if triggered is run between the .pre()/.post()
stages of this event.
The .pre(..) stage of the event is called before the clicked The .pre(..) stage of the event is called before the clicked
image is focused and the .post(..) stage is called after focusing image is focused and the .post(..) stage is called after focusing
@ -1330,13 +1330,11 @@ var ControlActions = actions.Actions({
})], })],
// Image menu events... // Image menu events...
imageBlockMenu: ['- Interface/Image block menu event', imageOuterBlockMenu: ['- Interface/Image outer block menu event',
core.doc`Image block menu event core.doc`Image outer block menu event
This is triggered on any click on an image block. This is triggered on menu on an image block but outside of the
actual image.
imageMenu event if triggered is run between the .pre()/.post()
stages of this event.
The .pre(..) stage of the event is called before the clicked The .pre(..) stage of the event is called before the clicked
image is focused and the .post(..) stage is called after focusing image is focused and the .post(..) stage is called after focusing
@ -1349,11 +1347,13 @@ var ControlActions = actions.Actions({
// //
// Not for direct use. // Not for direct use.
})], })],
imageOuterBlockMenu: ['- Interface/Image block menu event', imageBlockMenu: ['- Interface/Image block menu event',
core.doc`Image block menu event core.doc`Image block menu event
This is triggered on menu on an image block but outside of the This is triggered on any click on an image block.
actual image.
imageMenu event if triggered is run between the .pre()/.post()
stages of this event.
The .pre(..) stage of the event is called before the clicked The .pre(..) stage of the event is called before the clicked
image is focused and the .post(..) stage is called after focusing image is focused and the .post(..) stage is called after focusing
@ -1531,6 +1531,7 @@ var ControlActions = actions.Actions({
// XXX this does not remove the hammer trigger // XXX this does not remove the hammer trigger
// ...just the jQuery handler is cleared // ...just the jQuery handler is cleared
.off('tap') .off('tap')
.off('contextmenu', menuHandler)
//.removeData('hammer') //.removeData('hammer')
}) })
} }