@opc-mock/opc-back-to-top

Webcomponent opc-back-to-top following open-wc recommendations

Usage no npm install needed!

<script type="module">
  import opcMockOpcBackToTop from 'https://cdn.skypack.dev/@opc-mock/opc-back-to-top';
</script>

README

<opc-back-to-top>

This webcomponent follows the open-wc recommendation.

Installation

npm i opc-back-to-top

Usage

<script type="module">
  import 'opc-back-to-top/opc-back-to-top.js';
</script>

<opc-back-to-top></opc-back-to-top>

Tooling configs

For most of the tools, the configuration is in the package.json to reduce the amount of files in your project.

If you customize the configuration a lot, you can consider moving them to individual files.

Local Demo with es-dev-server

npm start

To run a local development server that serves the basic demo located in demo/index.html