Wondering what’s next for npm?Check out our public roadmap! »

@arturdoruch/ui

1.0.2 • Public • Published

User interface

A set of functions adding user interface events to the HTML elements.

Install

yarn add @arturdoruch/ui

Contents

Content events

import contentEvents from '@arturdoruch/ui/lib/content-events';

Functions

  • slide() - Adds sliding content event.
  • openInBrowser() - Adds event opening text content (e.g. HTML or JSON) of the HTML element in a new browser tab.

Scroll events

import scrollEvents from '@arturdoruch/ui/lib/scroll-events';

Functions

  • pageToTop() - Adds event of scrolling page to the top.

Page scroll dispatcher

Scrolling page event dispatcher.

import pageScrollDispatcher from '@arturdoruch/ui/lib/page-scroll-dispatcher';

Keywords

none

Install

npm i @arturdoruch/ui

DownloadsWeekly Downloads

5

Version

1.0.2

License

MIT

Unpacked Size

10.8 kB

Total Files

5

Last publish

Collaborators

  • avatar