Contains optional parameters for registering a block event.
export interface BlockEventOptions { blockTypes?: string[]; permutations?: BlockPermutation[];} Copy
export interface BlockEventOptions { blockTypes?: string[]; permutations?: BlockPermutation[];}
Optional
If this value is set, this event will only fire if the impacted block's type matches this parameter.
If this value is set, this event will only fire if the impacted block's permutation matches this parameter.
Contains optional parameters for registering a block event.
Source