当前位置: 首页 > 工具软件 > Blockly > 使用案例 >

Blockly 各种类原型链字典

沈实
2023-12-01

 Blockly类

ALIGN_CENTRE: 0
ALIGN_LEFT: -1
ALIGN_RIGHT: 1
ASTNode: ƒ (a,b,c)
BUMP_DELAY: 250
BUMP_RANDOMNESS: 10
BasicCursor: ƒ ()
Block: ƒ (a,b,c)
BlockDragSurfaceSvg: ƒ (a)
BlockDragger: ƒ (a,b)
BlockSvg: ƒ (a,b,c)
BlocklyOptions: ƒ ()
Blocks: {variables_get_dynamic: {…}, variables_set_dynamic: {…}, variables_get: {…}, variables_set: {…}, text: {…}, …}
Bubble: ƒ (a,b,c,d,e,f)
BubbleDragger: ƒ (a,b)
COLLAPSED_FIELD_NAME: "_TEMP_COLLAPSED_FIELD"
COLLAPSED_INPUT_NAME: "_TEMP_COLLAPSED_INPUT"
COLLAPSE_CHARS: 30
CONNECTING_SNAP_RADIUS: 28
CURRENT_CONNECTION_PREFERENCE: 8
CollapsibleToolboxCategory: ƒ (a,b,c)
Comment: ƒ (a)
ComponentManager: ƒ ()
Connection: ƒ (a,b)
ConnectionChecker: ƒ ()
ConnectionDB: ƒ (a)
ConnectionType: {INPUT_VALUE: 1, OUTPUT_VALUE: 2, NEXT_STATEMENT: 3, PREVIOUS_STATEMENT: 4}
ContextMenu: {getCurrentBlock: ƒ, setCurrentBlock: ƒ, show: ƒ, hide: ƒ, dispose: ƒ, …}
ContextMenuItems: {registerUndo: ƒ, registerRedo: ƒ, registerCleanup: ƒ, registerCollapse: ƒ, registerExpand: ƒ, …}
ContextMenuRegistry: ƒ ()
Css: {content: '', register: ƒ, inject: ƒ}
Cursor: ƒ ()
DELETE_VARIABLE_ID: "DELETE_VARIABLE_ID"
DRAG_BEGIN: 1
DRAG_FREE: 2
DRAG_NONE: 0
DRAG_RADIUS: 5
DRAG_STACK: true
DRAG_STICKY: 1
DUMMY_INPUT: 5
DeleteArea: ƒ ()
DragTarget: ƒ ()
DropDownDiv: ƒ ()
Events: {Abstract: ƒ, BubbleOpen: ƒ, BlockBase: ƒ, BlockChange: ƒ, BlockCreate: ƒ, …}
Extensions: {TEST_ONLY: {…}, register: ƒ, registerMixin: ƒ, registerMutator: ƒ, unregister: ƒ, …}
FLYOUT_DRAG_RADIUS: 10
Field: ƒ (a,b,c)
FieldAngle: ƒ (a,b,c)
FieldCheckbox: ƒ (a,b,c)
FieldColour: ƒ (a,b,c)
FieldDropdown: ƒ (a,b,c)
FieldImage: ƒ (a,b,c,d,e,f,g)
FieldLabel: ƒ (a,b,c)
FieldLabelSerializable: ƒ (a,b,c)
FieldMultilineInput: ƒ (a,b,c)
FieldNumber: ƒ (a,b,c,d,e,f)
FieldTextInput: ƒ (a,b,c)
FieldVariable: ƒ (a,b,c,d,e)
Flyout: ƒ (a)
FlyoutButton: ƒ (a,b,c,d)
FlyoutMetricsManager: ƒ (a,b)
Generator: ƒ (a)
Gesture: ƒ (a,b)
Grid: ƒ (a,b)
HorizontalFlyout: ƒ (a)
IASTNodeLocation: ƒ ()
IASTNodeLocationSvg: ƒ ()
IASTNodeLocationWithBlock: ƒ ()
IAutoHideable: ƒ ()
IBlockDragger: ƒ ()
IBoundedElement: ƒ ()
IBubble: ƒ ()
ICollapsibleToolboxItem: ƒ ()
IComponent: ƒ ()
IConnectionChecker: ƒ ()
IContextMenu: ƒ ()
ICopyable: ƒ ()
IDeletable: ƒ ()
IDeleteArea: ƒ ()
IDragTarget: ƒ ()
IDraggable: ƒ ()
IFlyout: ƒ ()
IKeyboardAccessible: ƒ ()
IMetricsManager: ƒ ()
IMovable: ƒ ()
INPUT_VALUE: 1
IPositionable: ƒ ()
IRegistrable: ƒ ()
IRegistrableField: {}
ISelectable: ƒ ()
ISelectableToolboxItem: ƒ ()
IStyleable: ƒ ()
IToolbox: ƒ ()
IToolboxItem: ƒ ()
Icon: ƒ (a)
Input: ƒ (a,b,c,d)
InsertionMarkerManager: ƒ (a)
JavaScript: Generator {name_: 'JavaScript', FUNCTION_NAME_PLACEHOLDER_REGEXP_: /{leCUI8hutHZI4480Dc}/g, RESERVED_WORDS_: 'break,case,catch,class,const,continue,debugger,def…K_REPLAY__,__VUE_DEVTOOLS_PLUGINS__,Blockly,code,', ORDER_ATOMIC: 0, ORDER_NEW: 1.1, …}
LINE_MODE_MULTIPLIER: 40
LONGPRESS: 750
Marker: ƒ ()
MarkerManager: ƒ (a)
Menu: ƒ ()
MenuItem: ƒ (a,b)
MetricsManager: ƒ (a)
Msg: {ADD_COMMENT: '添加注释', CANNOT_DELETE_VARIABLE_PROCEDURE: '不能删除变量“%1”,因为它是函数“%2”定义的一部分', CHANGE_VALUE_TITLE: '更改值:', CLEAN_UP: '整理块', COLLAPSED_WARNINGS_WARNING: '已收起的信息块内包含警告。', …}
Mutator: ƒ (a)
NEXT_STATEMENT: 3
Names: ƒ (a,b)
OPPOSITE_TYPE: (5) [空, 2, 1, 4, 3]
OUTPUT_VALUE: 2
Options: ƒ (a)
PAGE_MODE_MULTIPLIER: 125
PREVIOUS_STATEMENT: 4
PROCEDURE_CATEGORY_NAME: "PROCEDURE"
Procedures: {CATEGORY_NAME: 'PROCEDURE', DEFAULT_ARG: 'x', allProcedures: ƒ, findLegalName: ƒ, isNameUsed: ƒ, …}
RENAME_VARIABLE_ID: "RENAME_VARIABLE_ID"
RenderedConnection: ƒ (a,b)
SNAP_RADIUS: 28
SOUND_LIMIT: 100
SPRITE: {width: 96, height: 124, url: 'sprites.png'}
Scrollbar: ƒ (a,b,c,d,e)
ScrollbarPair: ƒ (a,b,c,d,e)
ShortcutItems: {names: {…}, registerEscape: ƒ, registerDelete: ƒ, registerCopy: ƒ, registerCut: ƒ, …}
ShortcutRegistry: ƒ ()
TOOLBOX_AT_BOTTOM: 1
TOOLBOX_AT_LEFT: 2
TOOLBOX_AT_RIGHT: 3
TOOLBOX_AT_TOP: 0
TabNavigateCursor: ƒ ()
Theme: ƒ (a,b,c,d)
ThemeManager: ƒ (a,b)
Themes: {Classic: Theme, Zelos: Theme}
Toolbox: ƒ (a)
ToolboxCategory: ƒ (a,b,c)
ToolboxItem: ƒ (a,b,c)
ToolboxSeparator: ƒ (a,b)
Tooltip: {LIMIT: 50, OFFSET_X: 0, OFFSET_Y: 10, RADIUS_OK: 10, isVisible: ƒ, …}
Touch: {TOUCH_ENABLED: true, TOUCH_MAP: {…}, longStart: ƒ, longStop: ƒ, clearTouchIdentifier: ƒ, …}
TouchGesture: ƒ (a,b)
Trashcan: ƒ (a)
VARIABLE_CATEGORY_NAME: "VARIABLE"
VARIABLE_DYNAMIC_CATEGORY_NAME: "VARIABLE_DYNAMIC"
VERSION: "7.20211209.2"
VariableMap: ƒ (a)
VariableModel: ƒ (a,b,c,d)
Variables: {CATEGORY_NAME: 'VARIABLE', allUsedVarModels: ƒ, allDeveloperVariables: ƒ, flyoutCategory: ƒ, flyoutCategoryBlocks: ƒ, …}
VariablesDynamic: {CATEGORY_NAME: 'VARIABLE_DYNAMIC', onCreateVariableButtonClick_String: ƒ, onCreateVariableButtonClick_Number: ƒ, onCreateVariableButtonClick_Colour: ƒ, flyoutCategory: ƒ, …}
VerticalFlyout: ƒ (a)
Warning: ƒ (a)
WidgetDiv: {getDiv: ƒ, testOnly_setDiv: ƒ, createDom: ƒ, show: ƒ, hide: ƒ, …}
Workspace: ƒ (a)
WorkspaceAudio: ƒ (a)
WorkspaceComment: ƒ (a,b,c,d,e)
WorkspaceCommentSvg: ƒ (a,b,c,d,e)
WorkspaceDragSurfaceSvg: ƒ (a)
WorkspaceDragger: ƒ (a)
WorkspaceSvg: ƒ (a,b,c)
Xml: {workspaceToDom: ƒ, variablesToDom: ƒ, blockToDomWithXY: ƒ, blockToDom: ƒ, domToText: ƒ, …}
ZoomControls: ƒ (a)
bindEventWithChecks_: ƒ (a,b,c,d,e,f)
bindEvent_: ƒ (a,b,c,d)
blockAnimations: {disposeUiEffect: ƒ, connectionUiEffect: ƒ, disconnectUiEffect: ƒ, disconnectUiStop: ƒ}
blockRendering: {isDebuggerEnabled: ƒ, register: ƒ, unregister: ƒ, startDebugger: ƒ, stopDebugger: ƒ, …}
browserEvents: {conditionalBind: ƒ, bind: ƒ, unbind: ƒ, isTargetInput: ƒ, isRightButton: ƒ, …}
bumpObjects: {bumpIntoBounds: ƒ, bumpIntoBoundsHandler: ƒ, bumpTopObjectsIntoBounds: ƒ}
clipboard: {copy: ƒ, paste: ƒ, duplicate: ƒ}
common: {getMainWorkspace: ƒ, setMainWorkspace: ƒ, getSelected: ƒ, setSelected: ƒ, getParentContainer: ƒ, …}
connectionTypes: {INPUT_VALUE: 1, OUTPUT_VALUE: 2, NEXT_STATEMENT: 3, PREVIOUS_STATEMENT: 4}
constants: {COLLAPSED_INPUT_NAME: '_TEMP_COLLAPSED_INPUT', COLLAPSED_FIELD_NAME: '_TEMP_COLLAPSED_FIELD'}
copy: ƒ (a)
defineBlocksWithJsonArray: ƒ (a)
dialog: {alert: ƒ, setAlert: ƒ, confirm: ƒ, setConfirm: ƒ, prompt: ƒ, …}
duplicate: ƒ (a)
fieldRegistry: {register: ƒ, unregister: ƒ, fromJson: ƒ}
geras: {ConstantProvider: ƒ, Drawer: ƒ, HighlightConstantProvider: ƒ, Highlighter: ƒ, InlineInput: ƒ, …}
getMainWorkspace: ƒ ()
hideChaff: ƒ (a)
hueToHex: ƒ (a)
inject: ƒ (a,b)
inputTypes: {VALUE: 1, STATEMENT: 3, DUMMY: 5}
internal_: {module$exports$Blockly$utils$string: {…}, module$exports$Blockly$ConnectionType: {…}, module$exports$Blockly$internalConstants: {…}, module$exports$Blockly$utils$global: {…}, module$exports$Blockly$blocks: {…}, …}
isNumber: ƒ (a)
minimalist: {ConstantProvider: ƒ, Drawer: ƒ, RenderInfo: ƒ, Renderer: ƒ}
paste: ƒ ()
registry: {TEST_ONLY: {…}, DEFAULT: 'default', Type: ƒ, register: ƒ, unregister: ƒ, …}
resizeSvgContents: ƒ (a)
serialization: {blocks: {…}, exceptions: {…}, priorities: {…}, registry: {…}, variables: {…}, …}
setLocale: ƒ (locale)
setParentContainer: ƒ (a)
svgResize: ƒ (a)
svgSize: ƒ (a)
thrasos: {RenderInfo: ƒ, Renderer: ƒ}
uiPosition: {verticalPosition: {…}, horizontalPosition: {…}, bumpDirection: {…}, getStartPositionRect: ƒ, getCornerOppositeToolbox: ƒ, …}
unbindEvent_: ƒ (a)
utils: {aria: {…}, colour: {…}, deprecation: {…}, dom: {…}, Coordinate: ƒ, …}
zelos: {BottomRow: ƒ, ConstantProvider: ƒ, Drawer: ƒ, MarkerSvg: ƒ, PathObject: ƒ, …}
HSV_SATURATION: (...)
HSV_VALUE: (...)
alert: (...)
confirm: (...)
mainWorkspace: (...)
prompt: (...)
selected: (...)

 块定义方法

init  初始化
domToMutation 将存起来的metationXML转化为block
mutationToDom 将block计算为metationXML存起来
onchange this.setOnChange()回调,随便取名字
compose 扩展计算
decompose 扩展计算
saveConnections
saveExtraState
loadExtraState

workSpace对象 类:WorkspaceSvg

RTL: false
audioManager_: WorkspaceAudio {parentWorkspace_: null, SOUNDS_: {…}}
blockDB_: {+E)t~l^QDkZ|a`?$XCPG: BlockSvg, cC#n)tK{ZT{}WM%:+HP(: BlockSvg, hGC%mXkf8}gLFcyZEsYU: BlockSvg, Dtm]L3^9%?OOgzj/sx,h: BlockSvg, Klxc}O4_S@@Cv|kyC6hh: BlockSvg, …}
blockDragSurface_: BlockDragSurfaceSvg {container_: div.injectionDiv.geras-renderer.classic-theme, SVG_: svg.blocklyBlockDragSurface, dragGroup_: g, scale_: 1}
cachedParentSvgSize_: Size {width: 1380, height: 499}
cachedParentSvg_: svg.blocklySvg
commentDB_: {}
componentManager_: ComponentManager {componentData_: {…}, capabilityToComponentIds_: {…}}
connectionChecker: ConnectionChecker {}
connectionDBList: (5) [空, ConnectionDB, ConnectionDB, ConnectionDB, ConnectionDB]
currentGesture_: null
dragTargetAreas_: (2) [{…}, {…}]
flyoutButtonCallbacks_: {}
getMetrics: ƒ ()
grid_: Grid {gridPattern_: pattern#blocklyGridPattern21948693866670288, spacing_: 0, length_: 1, line1_: line, line2_: null, …}
highlightedBlocks_: []
horizontalLayout: false
id: "dQRv_A~9Y|_8|@F%J3[o"
injectionDiv_: div.injectionDiv.geras-renderer.classic-theme
inverseScreenCTMDirty_: true
isClearing: false
isDragSurfaceActive_: false
keyboardAccessibilityMode: false
lastRecordedPageScroll_: Coordinate {x: 0, y: 0}
listeners_: (4) [ƒ, ƒ, ƒ, ƒ]
markerManager_: MarkerManager {cursor_: Cursor, cursorSvg_: g.blocklyCursor, markers_: {…}, workspace_: WorkspaceSvg}
metricsManager_: MetricsManager {workspace_: WorkspaceSvg}
oldLeft_: -923.366505662728
oldScale_: 1
oldTop_: 0
options: Options {RTL: false, oneBasedIndex: true, collapse: true, comments: true, disable: true, …}
potentialVariableMap_: null
redoStack_: []
renderer_: Renderer {name: 'geras', constants_: ConstantProvider, overrides: null, highlightConstants_: HighlightConstantProvider}
resizeHandlerWrapper_: [Array(3)]
resizesEnabled_: true
scale: 1
scrollX: 923.366505662728
scrollY: -0
scrollbar: ScrollbarPair {workspace_: WorkspaceSvg, hScroll: Scrollbar, vScroll: Scrollbar, corner_: rect.blocklyScrollbarBackground, oldHostMetrics_: {…}}
setMetrics: ƒ (a)
svgBackground_: rect.blocklyMainBackground
svgBlockCanvas_: g.blocklyBlockCanvas
svgBubbleCanvas_: g.blocklyBubbleCanvas
svgGroup_: g.blocklyWorkspace
themeManager_: ThemeManager {workspace_: WorkspaceSvg, theme_: Theme, subscribedWorkspaces_: Array(3), componentDB_: {…}}
toolboxCategoryCallbacks_: {VARIABLE: ƒ, VARIABLE_DYNAMIC: ƒ, PROCEDURE: ƒ}
toolboxPosition: 2
toolbox_: Toolbox {wouldDelete_: false, workspace_: WorkspaceSvg, id: 'toolbox', toolboxDef_: {…}, horizontalLayout_: false, …}
topBlocks_: [BlockSvg]
topBoundedElements_: [BlockSvg]
topComments_: []
trashcan: Trashcan {wouldDelete_: false, workspace_: WorkspaceSvg, id: 'trashcan', contents_: Array(0), flyout: VerticalFlyout, …}
typedBlocksDB_: {procedures_defnoreturn: Array(1), controls_settimeout: Array(1), math_number: Array(5), variables_set: Array(1), xw_variable_creat: Array(1), …}
undoStack_: [VarCreate]
useWorkspaceDragSurface_: true
variableMap_: VariableMap {variableMap_: {…}, workspace: WorkspaceSvg}
workspaceDragSurface_: WorkspaceDragSurfaceSvg {container_: div.injectionDiv.geras-renderer.classic-theme, SVG_: svg.blocklyWsDragSurface.blocklyOverflowVisible, previousSibling_: null}
addFlyout: ƒ (a)
addTopBlock: ƒ (a)
addTopBoundedElement: ƒ (a)
addTopComment: ƒ (a)
addTrashcan: ƒ ()
addZoomControls: ƒ ()
beginCanvasTransition: ƒ ()
blockDragSurface_: null
cancelCurrentGesture: ƒ ()
centerOnBlock: ƒ (a)
cleanUp: ƒ ()
clear: ƒ ()
clearGesture: ƒ ()
constructor: ƒ (a,b,c)
createDom: ƒ (a)
createVariable: ƒ (a,b,c)
currentGesture_: null
deleteVariableById: ƒ (a)
dispose: ƒ ()
dragDeltaXY_: null
endCanvasTransition: ƒ ()
flyout_: null
getAudioManager: ƒ ()
getBlockById: ƒ (a)
getBlockCanvas: ƒ ()
getBlockDragSurface: ƒ ()
getBlocksBoundingBox: ƒ ()
getBubbleCanvas: ƒ ()
getButtonCallback: ƒ (a)
getCachedParentSvgSize: ƒ ()
getCanvas: ƒ ()
getComponentManager: ƒ ()
getCursor: ƒ ()
getDragTarget: ƒ (a)
getFlyout: ƒ (a)
getGesture: ƒ (a)
getGrid: ƒ ()
getInjectionDiv: ƒ ()
getInverseScreenCTM: ƒ ()
getMarker: ƒ (a)
getMarkerManager: ƒ ()
getMetricsManager: ƒ ()
getOriginOffsetInPixels: ƒ ()
getParentSvg: ƒ ()
getRenderer: ƒ ()
getScale: ƒ ()
getSvgXY: ƒ (a)
getTheme: ƒ ()
getThemeManager: ƒ ()
getToolbox: ƒ ()
getToolboxCategoryCallback: ƒ (a)
getTopBlocks: ƒ (a)
getTopBoundedElements: ƒ ()
getWidth: ƒ ()
hideChaff: ƒ (a)
highlightBlock: ƒ (a,b)
injectionDiv_: null
inverseScreenCTMDirty_: true
inverseScreenCTM_: null
isDragSurfaceActive_: false
isDraggable: ƒ ()
isDragging: ƒ ()
isFlyout: false
isMovable: ƒ ()
isMovableHorizontally: ƒ ()
isMovableVertically: ƒ ()
isMutator: false
isVisible: ƒ ()
isVisible_: true
lastRecordedPageScroll_: null
markFocused: ƒ ()
maybeFireViewportChangeEvent: ƒ ()
moveDrag: ƒ (a)
newBlock: ƒ (a,b)
oldLeft_: 0
oldScale_: 1
oldTop_: 0
onMouseDown_: ƒ (a)
onMouseWheel_: ƒ (a)
paste: ƒ (a)
pasteBlock_: ƒ (a,b)
pasteWorkspaceComment_: ƒ (a)
recordDeleteAreas: ƒ ()
recordDragTargets: ƒ ()
refreshTheme: ƒ ()
refreshToolboxSelection: ƒ ()
registerButtonCallback: ƒ (a,b)
registerToolboxCategoryCallback: ƒ (a,b)
removeButtonCallback: ƒ (a)
removeToolboxCategoryCallback: ƒ (a)
removeTopBlock: ƒ (a)
removeTopBoundedElement: ƒ (a)
removeTopComment: ƒ (a)
renameVariableById: ƒ (a,b)
render: ƒ ()
rendered: true
resetDragSurface: ƒ ()
resize: ƒ ()
resizeContents: ƒ ()
resizeHandlerWrapper_: null
resizesEnabled_: true
scale: 1
scroll: ƒ (a,b)
scrollCenter: ƒ ()
scrollX: 0
scrollY: 0
scrollbar: null
setBrowserFocus: ƒ ()
setCachedParentSvgSize: ƒ (a,b)
setCursorSvg: ƒ (a)
setMarkerSvg: ƒ (a)
setMetricsManager: ƒ (a)
setResizeHandlerWrapper: ƒ (a)
setResizesEnabled: ƒ (a)
setScale: ƒ (a)
setTheme: ƒ (a)
setVisible: ƒ (a)
setupDragSurface: ƒ ()
showContextMenu: ƒ (a)
startDrag: ƒ (a,b)
startScrollX: 0
startScrollY: 0
targetWorkspace: null
toolbox_: null
translate: ƒ (a,b)
trashcan: null
updateBlockStyles_: ƒ (a)
updateInverseScreenCTM: ƒ ()
updateScreenCalculationsIfScrolled: ƒ ()
updateScreenCalculations_: ƒ ()
updateToolbox: ƒ (a)
useWorkspaceDragSurface_: false
workspaceDragSurface_: null
zoom: ƒ (a,b,c)
zoomCenter: ƒ (a)
zoomToFit: ƒ ()
MAX_UNDO: 1024
addChangeListener: ƒ (a)
addTopBlock: ƒ (a)
addTopComment: ƒ (a)
addTypedBlock: ƒ (a)
allInputsFilled: ƒ (a)
clear: ƒ ()
clearUndo: ƒ ()
connectionDBList: null
createPotentialVariableMap: ƒ ()
createVariable: ƒ (a,b,c)
deleteVariableById: ƒ (a)
dispose: ƒ ()
fireChangeListener: ƒ (a)
getAllBlocks: ƒ (a)
getAllVariableNames: ƒ ()
getAllVariables: ƒ ()
getBlockById: ƒ (a)
getBlocksByType: ƒ (a,b)
getCommentById: ƒ (a)
getPotentialVariableMap: ƒ ()
getRedoStack: ƒ ()
getTopBlocks: ƒ (a)
getTopComments: ƒ (a)
getUndoStack: ƒ ()
getVariable: ƒ (a,b)
getVariableById: ƒ (a)
getVariableMap: ƒ ()
getVariableTypes: ƒ ()
getVariableUsesById: ƒ (a)
getVariablesOfType: ƒ (a)
getWidth: ƒ ()
hasBlockLimits: ƒ ()
isCapacityAvailable: ƒ (a)
isClearing: false
newBlock: ƒ (a,b)
remainingCapacity: ƒ ()
remainingCapacityOfType: ƒ (a)
removeBlockById: ƒ (a)
removeChangeListener: ƒ (a)
removeTopBlock: ƒ (a)
removeTopComment: ƒ (a)
removeTypedBlock: ƒ (a)
renameVariableById: ƒ (a,b)
rendered: false
setBlockById: ƒ (a,b)
setVariableMap: ƒ (a)
sortObjects_: ƒ (a,b)
undo: ƒ (a)
constructor: ƒ (a)

this对象 类:BlockSvg

RTL: false
childBlocks_: []
collapsed_: false
comment: null
commentModel: {text: null, pinned: false, size: Size}
contextMenu: true
deletable_: true
disabled: false
editable_: true
eventsInit_: true
flyoutRect_: rect
getResAnimation: ƒ getResAnimation()
hat: undefined
height: 64
id: "Bc)=R#2aU27|W^$gitHI"
init: ƒ init()
inputList: (2) [Input, Input]
inputsInline: undefined
inputsInlineDefault: undefined
isInFlyout: true
isInMutator: false
isInsertionMarker_: false
isShadow_: false
movable_: true
nextConnection: RenderedConnection {sourceBlock_: BlockSvg, type: 3, db_: ConnectionDB, dbOpposite_: ConnectionDB, offsetInBlock_: Coordinate, …}
onchange: ƒ onchange()
onchangeWrapper_: ƒ ()
outputConnection: null
outputShape_: null
parentBlock_: null
pathObject: PathObject {constants: ConstantProvider, svgRoot: g.blocklyDraggable, svgPathDark: path.blocklyPathDark, svgPath: path.blocklyPath, svgPathLight: path.blocklyPathLight, …}
previousConnection: RenderedConnection {sourceBlock_: BlockSvg, type: 4, db_: ConnectionDB, dbOpposite_: ConnectionDB, offsetInBlock_: Coordinate, …}
renderIsInProgress_: false
rendered: true
statementInputCount: 0
style: {colourPrimary: '#000000', colourSecondary: '#999999', colourTertiary: '#4d4d4d', hat: ''}
svgGroup_: g.blocklyDraggable
tooltip: ""
type: "xw_variable_animation_play"
useDragSurface_: false
width: 179.5254364013672
workspace: WorkspaceSvg {id: 'ji/WUOSsqt]xZLAc^s]_', options: Options, RTL: false, horizontalLayout: false, toolboxPosition: 2, …}
xy_: Coordinate {x: 0, y: 0}
addSelect: ƒ ()
appendInput_: ƒ (a,b)
applyColour: ƒ ()
bringToFront: ƒ ()
bumpNeighbours: ƒ ()
checkAndDelete: ƒ ()
clearTransformAttributes_: ƒ ()
comment: null
commentIcon_: null
constructor: ƒ (a,b,c)
dispose: ƒ (a,b)
fadeForReplacement: ƒ (a)
generateContextMenu: ƒ ()
getBoundingRectangle: ƒ ()
getColour: ƒ ()
getColourSecondary: ƒ ()
getColourTertiary: ƒ ()
getCommentIcon: ƒ ()
getConnections_: ƒ (a)
getHeightWidth: ƒ ()
getIcons: ƒ ()
getMatchingConnection: ƒ (a,b)
getParent: ƒ ()
getRelativeToSurfaceXY: ƒ ()
getRootBlock: ƒ ()
getSvgRoot: ƒ ()
height: 0
highlightShapeForInput: ƒ (a,b)
initSvg: ƒ ()
lastConnectionInStack: ƒ (a)
makeConnection_: ƒ (a)
markDirty: ƒ ()
moveBy: ƒ (a,b)
moveConnections: ƒ (a,b)
moveDuringDrag: ƒ (a)
moveNumberedInputBefore: ƒ (a,b)
moveOffDragSurface: ƒ (a)
moveTo: ƒ (a)
moveToDragSurface: ƒ ()
mutator: null
onMouseDown_: ƒ (a)
positionNearConnection: ƒ (a,b)
removeInput: ƒ (a,b)
removeSelect: ƒ ()
render: ƒ (a)
scheduleSnapAndBump: ƒ ()
select: ƒ ()
setCollapsed: ƒ (a)
setColour: ƒ (a)
setCommentText: ƒ (a)
setConnectionTracking: ƒ (a)
setCursorSvg: ƒ (a)
setDeleteStyle: ƒ (a)
setDragging: ƒ (a)
setEditable: ƒ (a)
setEnabled: ƒ (a)
setHighlighted: ƒ (a)
setInputsInline: ƒ (a)
setInsertionMarker: ƒ (a)
setMarkerSvg: ƒ (a)
setMovable: ƒ (a)
setMutator: ƒ (a)
setNextStatement: ƒ (a,b)
setOutput: ƒ (a,b)
setParent: ƒ (a)
setPreviousStatement: ƒ (a,b)
setShadow: ƒ (a)
setStyle: ƒ (a)
setWarningText: ƒ (a,b)
showContextMenu: ƒ (a)
showHelp: ƒ ()
snapToGrid: ƒ ()
tab: ƒ (a,b)
toCopyData: ƒ ()
translate: ƒ (a,b)
unselect: ƒ ()
updateCollapsed_: ƒ ()
updateConnectionLocations_: ƒ ()
updateDisabled: ƒ ()
updateMarkers_: ƒ ()
warning: null
warningTextDb_: null
width: 0
allInputsFilled: ƒ (a)
appendDummyInput: ƒ (a)
appendInput_: ƒ (a,b)
appendStatementInput: ƒ (a)
appendValueInput: ƒ (a)
bumpNeighbours: ƒ ()
colour_: "#000000"
data: null
dispose: ƒ (a)
disposed: false
fieldFromJson_: ƒ (a)
getChildren: ƒ (a)
getColour: ƒ ()
getCommentText: ƒ ()
getConnections_: ƒ (a)
getDescendants: ƒ (a)
getField: ƒ (a)
getFieldValue: ƒ (a)
getFirstStatementConnection: ƒ ()
getHue: ƒ ()
getInheritedDisabled: ƒ ()
getInput: ƒ (a)
getInputTargetBlock: ƒ (a)
getInputWithBlock: ƒ (a)
getInputsInline: ƒ ()
getMatchingConnection: ƒ (a,b)
getNextBlock: ƒ ()
getOnlyValueConnection_: ƒ ()
getOutputShape: ƒ ()
getParent: ƒ ()
getPreviousBlock: ƒ ()
getRelativeToSurfaceXY: ƒ ()
getRootBlock: ƒ ()
getStyleName: ƒ ()
getSurroundParent: ƒ ()
getTooltip: ƒ ()
getTopStackBlock: ƒ ()
getVarModels: ƒ ()
getVars: ƒ ()
hue_: null
initModel: ƒ ()
inputFromJson_: ƒ (a,b)
interpolateArguments_: ƒ (a,b,c)
interpolate_: ƒ (a,b,c,d)
isCollapsed: ƒ ()
isDeletable: ƒ ()
isDisposed: ƒ ()
isDuplicatable: ƒ ()
isEditable: ƒ ()
isEnabled: ƒ ()
isInputKeyword_: ƒ (a)
isInsertionMarker: ƒ ()
isMovable: ƒ ()
isShadow: ƒ ()
jsonInit: ƒ (a)
jsonInitColour_: ƒ (a,b)
jsonInitStyle_: ƒ (a,b)
lastConnectionInStack: ƒ (a)
makeConnection_: ƒ (a)
mixin: ƒ (a,b)
moveBy: ƒ (a,b)
moveInputBefore: ƒ (a,b)
moveNumberedInputBefore: ƒ (a,b)
removeInput: ƒ (a,b)
renameVarById: ƒ (a,b)
setCollapsed: ƒ (a)
setColour: ƒ (a)
setCommentText: ƒ (a)
setDeletable: ƒ (a)
setEditable: ƒ (a)
setEnabled: ƒ (a)
setFieldValue: ƒ (a,b)
setHelpUrl: ƒ (a)
setInputsInline: ƒ (a)
setInsertionMarker: ƒ (a)
setMovable: ƒ (a)
setMutator: ƒ (a)
setNextStatement: ƒ (a,b)
setOnChange: ƒ (a)
setOutput: ƒ (a,b)
setOutputShape: ƒ (a)
setParent: ƒ (a)
setPreviousStatement: ƒ (a,b)
setShadow: ƒ (a)
setStyle: ƒ (a)
setTooltip: ƒ (a)
setWarningText: ƒ (a,b)
stringToFieldJson_: ƒ (a)
styleName_: ""
toDevString: ƒ ()
toString: ƒ (a,b)
unplug: ƒ (a)
unplugFromRow_: ƒ (a)
unplugFromStack_: ƒ (a)
updateVarName: ƒ (a)
validateTokens_: ƒ (a,b)
constructor: ƒ (a,b,c)

workSpace.getVariableMap() 变量库 类:VariableMap

variableMap_:[
    {
        id_: "JmhS-[jnjBj,4X85_,$S"
        name: "running"
        type: ""
        workspace: WorkspaceSvg  
    }
]
workspace: WorkspaceSvg

 类似资料: