blockly > ContextMenuRegistry > RegistryItem
ContextMenuRegistry.RegistryItem 인터페이스
레지스트리에 입력된 메뉴 항목
Signature:
interface RegistryItem
속성
속성 | 수정자 | 유형 | 설명 |
---|---|---|---|
콜백 | (범위: Scope, e: PointerEvent) => void | ||
displayText | ((p1: 범위) => string | HTMLElement) | string | HTMLElement | ||
id | 문자열 | ||
preconditionFn | (p1: 범위) => 문자열 | ||
scopeType | ScopeType | ||
무게 | 숫자 |