Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

data-tier-list

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

data-tier-list

List component based on DataTier binding engine

  • 1.2.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
decreased by-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

NPM License: ISC

Quality pipeline Codecov Codacy

data-tier-list

data-tier-list is a WebComponent, that provides repetative view functionality given any HTML template and a data set.

Main features and concepts:

  • supported data set types: Array, Object
  • if a provided data set is is not an observable, it is transformed (cloned) into such one
  • data set mutations are observed and reflected
  • template mutations are observed and reflected
  • uniformity of a data items is not validated/enforced

data-tier-list relies on a data-tier library for the model-view tying part.

Changelog is here

Preview

For a preview/playground you are welcome to: TBD

Install

Use regular npm install data-tier-list --save-prod to use the library from your local environment:

import 'node_modules/data-tier-list/dist/data-tier-list.min.js';

Alternatively, a CDN deployment available (AWS driven), so one can import it directly:

import 'https://libs.gullerya.com/data-tier-list/x.y.z/data-tier-list.min.js';

Note: replace the x.y.z by the desired version, one of the listed in the changelog.

CDN features:

  • HTTPS only, no untrusted man-in-the-middle
  • highly available (with many geo spread edges)
  • agressive caching setup

API

  • data-tier-list element self and it's light DOM are not displayed
  • light DOM of the data-tier-list is taken as a template for a single item
    • template is observed for any changes; replacement of it or a change of its child/ren triggers a full (re)render of the list
    • template may have at most one top level element (any nested elements tree allowed)
    • template removal cleans the list
    • template error (eg more than one child) throws, list remains untouched

Keywords

FAQs

Package last updated on 24 Apr 2021

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc