Current section

Files

Jump to
octantis assets js storybook.js
Raw

assets/js/storybook.js

// If your components require any hooks or custom uploaders, or if your pages
// require connect parameters, uncomment the following lines and declare them as
// such:
//
// import * as Hooks from "./hooks";
// import * as Params from "./params";
// import * as Uploaders from "./uploaders";
// (function () {
// window.storybook = { Hooks, Params, Uploaders };
// })();
// If your components require alpinejs, you'll need to start
// alpine after the DOM is loaded and pass in an onBeforeElUpdated
//
// import Alpine from 'alpinejs'
// window.Alpine = Alpine
// document.addEventListener('DOMContentLoaded', () => {
// window.Alpine.start();
// });
// Uncomment to test bindings suck as data-phx-click.
// Unfortunately, this disables bindings for storybook, including navigation.
// (function () {
// window.storybook = {
// LiveSocketOptions: { bindingPrefix: "data-phx-" }
// };
// })();