@arturdoruch/ui

1.0.3 • 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.js';

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.js';

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.js';

Readme

Keywords

none

Package Sidebar

Install

npm i @arturdoruch/ui

Weekly Downloads

4

Version

1.0.3

License

MIT

Unpacked Size

11.1 kB

Total Files

5

Last publish

Collaborators

  • arturdoruch1