UNPKG

storybook-chrome-screenshot

Version:

A Storybook addon, Save the screenshot image of your stories! via puppeteer.

24 lines 813 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var AppAdapter = /** @class */ (function () { function AppAdapter() { } AppAdapter.prototype.getMetadata = function () { return window.getPageId(); }; AppAdapter.prototype.readyComponentScreenshot = function () { window.readyComponentScreenshot(); }; AppAdapter.prototype.getScreenshotStories = function () { return window.getScreenshotStories(); }; AppAdapter.prototype.setScreenshotStories = function (stories) { window.setScreenshotStories(stories); }; AppAdapter.prototype.failureScreenshot = function (err) { window.failureScreenshot(err); }; return AppAdapter; }()); exports.AppAdapter = AppAdapter; //# sourceMappingURL=AppAdapter.js.map