Feature #51367

Possiblity to register callback on importand Neos events

Added by Jan-Erik Revsbech almost 2 years ago. Updated almost 2 years ago.

Status:Resolved Start date:2013-08-26
Priority:Could have Due date:
Assigned To:Jan-Erik Revsbech % Done:

100%

Category:-
Target version:-

Description

For websites relying on JS, it would be great to be able to register callbacks in Neos, to be notified when certain event happens. Most important when Neos reloads content, but other events would be something like

  • content reload
  • switch to preview mode
  • switch back from preview mode
  • selecting / editing a node
  • unselecting a node

This could be done by triggering traditional jQuery events on the document object.

Associated revisions

Revision 8c16d4fb
Added by Jan-Erik Revsbech almost 2 years ago

[FEATURE] Trigger externally observable events on important actions

Trigger custom events that external site-specific JavaScript can listen on
whenever important events happen in Neos.
Currently event are triggered on the following actions

  • PageReload
  • EnablePreview
  • DisablePreview
  • NodeSelected
  • NodeUnselected
  • ContentModuleLoaded

Change-Id: I3169072cb8fc8d7fffe01f95762e7ae89ab77f86
Resolves: #51367
Reviewed-on: https://review.typo3.org/23379
Reviewed-by: Sebastian Kurfuerst
Tested-by: Sebastian Kurfuerst

History

#1 Updated by Gerrit Code Review almost 2 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23379

#2 Updated by Gerrit Code Review almost 2 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23379

#3 Updated by Gerrit Code Review almost 2 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23379

#4 Updated by Gerrit Code Review almost 2 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23379

#5 Updated by Gerrit Code Review almost 2 years ago

Patch set 5 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23379

#6 Updated by Gerrit Code Review almost 2 years ago

Patch set 6 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23379

#7 Updated by Gerrit Code Review almost 2 years ago

Patch set 7 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23379

#8 Updated by Jan-Erik Revsbech almost 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF