MCPcopy Index your code
hub / github.com/alibaba/lowcode-engine / from

Method from

packages/types/src/shell/model/dragon.ts:48–48  ·  view source on GitHub ↗

* 设置拖拽监听的区域 shell,以及自定义拖拽转换函数 boost * set a html element as shell to dragon as monitoring target, and * set boost function which is used to transform a MouseEvent to type * IPublicTypeDragNodeDataObject. * @param shell 拖拽监听的区域 * @param boost 拖拽转换函数

(shell: Element, boost: (e: MouseEvent) => IPublicTypeDragNodeDataObject | null)

Source from the content-addressed store, hash-verified

46 * @param boost 拖拽转换函数
47 */
48 from(shell: Element, boost: (e: MouseEvent) => IPublicTypeDragNodeDataObject | null): any;
49
50 /**
51 * 发射拖拽对象

Callers 15

editorViewsMethod · 0.65
fromMethod · 0.65
resourceTypeListMethod · 0.65
defaultResourceTypeMethod · 0.65
initMethod · 0.65
renderMethod · 0.65
liveEditingRuleFunction · 0.65
initFunction · 0.65
willBindMethod · 0.65
queryPropElementFunction · 0.65
getMasterSensorsMethod · 0.65

Implementers 2

Dragonpackages/shell/src/model/dragon.ts
Dragonpackages/designer/src/designer/dragon.

Calls

no outgoing calls

Tested by 2

listAllFilesFunction · 0.52
listAllDirsFunction · 0.52