New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@jaypha/webcomponents

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jaypha/webcomponents

A bunch of vanilla web coponents

latest
Source
npmnpm
Version
2.0.1
Version published
Maintainers
1
Created
Source

Webcomponents

A set of vanilla web components that I have developed for various projects.

No framework required.

Available in ES6, UMD and CJS.

Important! As of version 2, lists no longer uses Bindable.

Installation

npm install --save @jaypha/webcomponents

Use --save-dev if you intend to incorporate this module into our own bundles.

Dependencies

  • tinytime (for jaypha-datecolumn)
  • dayjs (for jaypha-datecolumn)
  • Web components polyfill

The Components

japha-list

A list component that constructs a list from a set of data. The list can be

  • sortable
  • column definitions including formating.
  • columns can have their order rearranged.

jaypha-editable

Creates an editable area.

jaypha-enum

Enumerable display that allows you to set it's value, and it displays a label based on that value.

jaypha-spinput (in development)

A replacement for the built in <input type='number'> that overcomes some of its shortcommings.

TODO

  • Documentation
  • Spinput.
  • Transpile UMD to make available for older browsers.

Release Notes

2.0.1 Added Day.js as a dependency, to ensure that jayph-datecolumn will parse dates correctly.
2.0.0 Stopped using Bindable. Row objects are now just ordinary object, so you can no longer use getItem, setItem or removeItem.

You can still use bindable values by including them in a column definition.

License

Copyright (C) 2019 Jaypha.
Distributed under the Boost Software License, Version 1.0.

Keywords

web

FAQs

Package last updated on 20 May 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts