GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — lowcode-engine/docs/docs/api/model/detecting.md at main · kanewucode4fs/lowcode-engine

Expand file tree

/

detecting.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
87 lines (62 loc) · 1.5 KB
/

detecting.md

Copy path

File metadata and controls

87 lines (62 loc) · 1.5 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions
title Detecting
sidebar_position 6

@types IPublicModelDetecting
@since v1.0.0

基本介绍

画布节点悬停模型

属性

current

当前 hover 的节点

@type {IPublicModelNode | null}

相关类型:IPublicModelNode

@since v1.0.16

enable

是否启用

@type {boolean}

方法

capture

hover 指定节点

/**
 * hover 指定节点
 * capture node with nodeId
 * @param id 节点 id
 */
capture(id: string): void;

release

hover 离开指定节点

/**
 * hover 离开指定节点
 * release node with nodeId
 * @param id 节点 id
 */
release(id: string): void;

leave

清空 hover 态

/**
 * 清空 hover 态
 * clear all hover state
 */
leave(): void;

事件

onDetectingChange

hover 节点变化事件

/**
 * hover 节点变化事件
 * set callback which will be called when hovering object changed.
 * @since v1.1.0
 */
onDetectingChange(fn: (node: IPublicModelNode | null) => void): IPublicTypeDisposable;

相关类型:

  • IPublicModelNode
  • IPublicTypeDisposable

@since v1.1.0

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.