Handler invoked when the entry is clicked.
Sort group the entry belongs to.
OptionaliconPre-built HTML icon markup rendered before the label.
Unique identifier for the entry.
Display label for the entry.
Predicate gating whether the entry is shown (Foundry v14 #visible).
A context-menu entry compiled into the shape Foundry's
ContextMenubase class consumes: the authoredconditionhas become avisiblepredicate and a concretecallbackis always present.Remarks
The visibility predicate is keyed
visible, notcondition: Foundry v14 deprecatedContextMenuEntry#conditionin favor of#visible(removed in v16), and emitting the legacy key makes Foundry'sContextMenulog a compatibility warning on every render. See https://kb.heroiclands.org/dev/concepts/architecture/.