UNPKG

@alaskaairux/auro-interruption

Version:
58 lines (48 loc) 2.21 kB
<!-- Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license See LICENSE in the project root for license information. HTML in this document is standardized are NOT to be edited. All demo code should be edited in ./demo/demo.md With the exception of adding custom elements if needed for the demo. ----------------------- DO NOT EDIT ----------------------------- --> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Auro Web Component Generator | auro-dialog custom element</title> <link rel="stylesheet" type="text/css" href="https://unpkg.com/prismjs@latest/themes/prism.css" /> <link rel="stylesheet" type="text/css" href="css/style.css" /> </head> <body> <main></main> <script type="module"> import 'https://unpkg.com/marked@latest/marked.min.js'; import 'https://unpkg.com/prismjs@latest/prism.js'; fetch('/demo/drawer.md') .then((response) => response.text()) .then((text) => { const rawHtml = marked.parse(text); document.querySelector('main').innerHTML = rawHtml; Prism.highlightAll(); }); </script> <script type="module" src="../src/auro-drawer.js"></script> <!-- If additional elements are needed for the demo, add them here. --> <script src="https://unpkg.com/@alaskaairux/auro-accordion@latest/dist/auro-accordion__bundled.js" type="module"></script> <script src="https://unpkg.com/@alaskaairux/auro-button@latest/dist/auro-button__bundled.js" type="module"></script> <script src="https://unpkg.com/@alaskaairux/auro-header@latest/dist/auro-header__bundled.js" type="module"></script> <script src="https://unpkg.com/@alaskaairux/auro-icon@latest/dist/auro-icon__bundled.js" type="module"></script> <script src="https://unpkg.com/@aurodesignsystem/auro-hyperlink@latest/dist/auro-hyperlink__bundled.js" type="module"></script> <!-- This needs to be replaced with a link to the remote when published. --> <script src="./toggleInterruption.js"></script> </body> </html>