Issue Bug Closed

#80052Basic ContextMenu / ClickMenu docs

Christian Kuhn 02/28/17, 09:37 updated 10/17/17, 23:30

Description

t3api should have (at least a short) chapter on how the new context menu implementation works and how it can be extended / reduced.

basic outline could be something like “wrapClickMenuOnIcon()” -> click -> ajax call calculates item prodiver -> canHandle() (?) -> addItems() … very roughly like that.

also mention how single items can be kicked from the list, maybe via pageTs for instance or by adding an own item provider that removes stuff again.

talk about item priorities and that an existing priority is overriden by an item provider with same prio.

tell how to register js into the click menu as requireJs modul.

tell about “context”, how it is used and how it should be used.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.