@stories-js/core
Version:
Stories web components to build stories
5 lines • 886 B
JavaScript
/*!
* (C) StoriesJS https://storiesjs.org - GPL-2.0 License
*/
System.register(["./p-fbcb0011.system.js","./p-3d5a0b0e.system.js"],(function(o){"use strict";var t,n,e;return{setters:[function(o){t=o.r;n=o.h},function(o){e=o.s}],execute:function(){var i=":host{display:block}";var s=o("stories_tool_zoom",function(){function o(o){t(this,o)}o.prototype.actionHandler=function(o){var t=o.detail.command;if(t==="zoomIn"){e.zoom+=.1}else if(t==="zoomOut"){e.zoom-=.1}else{e.zoom=1}};o.prototype.render=function(){return[n("stories-tool-button",{command:"zoomIn",icon:"zoomIn",onStoriesAction:this.actionHandler}),n("stories-tool-button",{command:"zoomOut",icon:"zoomOut",onStoriesAction:this.actionHandler}),n("stories-tool-button",{command:"zoomReset",icon:"zoomReset",onStoriesAction:this.actionHandler})]};return o}());s.style=i}}}));
//# sourceMappingURL=p-69b0c3da.system.entry.js.map