← @mortar-kit/admin/preview

HelloMessageinterface

import { HelloMessage } from '@mortar-kit/admin/preview'

interface HelloMessage

Editor โ†’ preview: the editor is listening now; answer with mortar:ready. Covers a preview that loaded (and announced itself) before the editor hydrated, since the iframe is in the server-rendered HTML.

Properties

type: "mortar:hello"