JS Actions

How to use JS actions see here https://wordpress.stackexchange.com/a/337349

Before Preview Loaded

Use this action to destroy your custom JS code.

lazyblocks.components.PreviewServerCallback.onBeforeChange

After Preview Loaded

Use this action to initialize your custom JS code.

lazyblocks.components.PreviewServerCallback.onChange

Was this page helpful?