@haxtheweb/scroll-button

11.0.0 • Public • Published

<scroll-button>

Button

button to scroll to an area or back to top

Usage

To use this web component in your project you can utilize one of the following styles of syntax.

/* In an existing JS module / web component */
import '@haxtheweb/scroll-button/scroll-button.js';

/* CDN */
<script type="module" src="https://cdn.hax.cloud/cdn/build/es6/node_modules/@haxtheweb/scroll-button/scroll-button.js"></script>

Develop / Demo

Running npm start will start a local development server and open your default browser to display it. It will start watching .js and lib/.js files for changes automatically for your demo.

$ npm start

Contributing

  1. Fork it! git clone https://github.com/haxtheweb/webcomponents.git
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Button

License

Apache-2.0 License

/@haxtheweb/scroll-button/

    Package Sidebar

    Install

    npm i @haxtheweb/scroll-button

    Weekly Downloads

    84

    Version

    11.0.0

    License

    Apache-2.0

    Unpacked Size

    32.7 kB

    Total Files

    16

    Last publish

    Collaborators

    • btopro