UNPKG

histoire

Version:

A fast story book powered by Vite

12 lines (10 loc) • 283 B
export function sendEvent(event, payload) { if (window.__HST_PLUGIN_API__) { return window.__HST_PLUGIN_API__.sendEvent(event, payload) } } export function openStory(storyId) { if (window.__HST_PLUGIN_API__) { return window.__HST_PLUGIN_API__.openStory(storyId) } }