Closed alisonjlai closed 4 months ago
action-effect
useActionEffect
wb:plugin:action-effect:invoke
Corresponding PR on Slate: https://github.com/sigmacomputing/slate/pull/35490
How it will look like in custom plugin:
useEditorPanelConfig([{ type: 'action-effect', name: 'exampleEffect' }]); useActionEffect(config.exampleEffect, triggerEffect); function triggerEffect() { //... }
action-effect
type.useActionEffect
hook to register an action effect with the provided effect ID.wb:plugin:action-effect:invoke
from Slate.Corresponding PR on Slate: https://github.com/sigmacomputing/slate/pull/35490
How it will look like in custom plugin: