Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<!-- External dependencies the component needs to run (optional) -->
<script src="https://unpkg.com/PATH_TO_FILE.js"></script>
<!-- Polyfill loaders - Will not execute for modern browsers -->
<!-- WebComponents -->
<script src="https://unpkg.com/@webcomponents/webcomponentsjs@^2/webcomponents-loader.js"></script>
<!-- JS features -->
<script src="https://polyfill.io/v3/polyfill.js?features=default"></script>
<script type="module" src="path/to/pearson-component.js"></script>
<script nomodule src="path/to/pearson-component.esm.js"></script>
<!-- Moment -->
<script src="https://unpkg.com/moment@^2/min/moment.min.js"></script>
<!-- loadJS -->
<script src="https://unpkg.com/fg-loadjs@1.1.0/loadJS.js"></script>
<!-- Polyfill loaders - Will not execute for modern browsers -->
<!-- WebComponents -->
<script src="https://unpkg.com/@webcomponents/webcomponentsjs@^2/webcomponents-loader.js"></script>
<!-- JS features -->
<script src="https://polyfill.io/v3/polyfill.js?features=default"></script>
<script type="module" src="path/to/pearson-timepicker.js"></script>
<script nomodule src="path/to/pearson-timepicker.esm.js"></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment