blockly > ContextMenuRegistry > ActionRegistryItem
ContextMenuRegistry.ActionRegistryItem इंटरफ़ेस
रजिस्ट्री में, क्लिक किए जा सकने वाले सामान्य मेन्यू आइटम की इमेज.
हस्ताक्षर:
interface ActionRegistryItem extends CoreRegistryItem
इससे मिलता-जुलता टाइप: CoreRegistryItem
प्रॉपर्टी
प्रॉपर्टी | मॉडिफ़ायर | टाइप | ब्यौरा |
---|---|---|---|
कॉलबैक | (scope: Scope, menuOpenEvent: इवेंट, menuSelectEvent: इवेंट, location: Coordinate) => void | ||
displayText | ((p1: Scope) => string | HTMLElement) | string | HTMLElement | ||
preconditionFn | (p1: Scope, menuOpenEvent: Event) => string | ||
separator? | कभी नहीं | (ज़रूरी नहीं) |