Identifies which side of the iframe boundary the Communicator is running on.
What does it unlock?
Distinguishes which side of the postMessage channel the Communicator is operating on —
'host' for the embedding page and 'metabox' for the iframe.
Practical Application
Used internally by the Communicator to tag outgoing messages so the receiving side can verify their origin.
You never need to set or check this value in application code.
AI Coding Best Practices
Skip in application code. The Communicator sets this automatically based on the createInstance() call.
Only relevant if debugging raw postMessage traffic between your page and the MetaBox iframe.
Identifies which side of the iframe boundary the Communicator is running on.
What does it unlock?
Distinguishes which side of the postMessage channel the Communicator is operating on —
'host'for the embedding page and'metabox'for the iframe.Practical Application
Used internally by the Communicator to tag outgoing messages so the receiving side can verify their origin. You never need to set or check this value in application code.
AI Coding Best Practices
Skip in application code. The Communicator sets this automatically based on the
createInstance()call. Only relevant if debugging raw postMessage traffic between your page and the MetaBox iframe.