For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server/interfaces/BlockEventOptions.md.

Interface: BlockEventOptions

event block

Beta

包含注册方块事件的可选参数。

Contains optional parameters for registering a block event.

Properties

blockTypes?

optional blockTypes?: string[]

Beta

Remarks

如果设置了此值,则仅当受影响的方块类型与此参数匹配时才会触发此事件。

If this value is set, this event will only fire if the impacted block's type matches this parameter.


permutations?

optional permutations?: BlockPermutation[]

Beta

Remarks

如果设置了此值,则仅当受影响的方块置换与此参数匹配时才会触发此事件。

If this value is set, this event will only fire if the impacted block's permutation matches this parameter.

同领域相关