Socket
Book a DemoInstallSign in
Socket

@vcl/data-list

Package Overview
Dependencies
Maintainers
4
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vcl/data-list

Tabular data browser, selection list and navigation menu

latest
npmnpm
Version
0.6.3
Version published
Maintainers
4
Created
Source

VCL data-list

Tabular data browser, selection list and navigation menu.

Features

A versatile browser for tabular data where the actual layout of a single item is more flexible as with a normal table. It can be easily made responsive due to the layout flexibility. It can have an optional header and footer. Items of the list can visually suggest their selectability.

Usage

As property editor with header and footer. The edit button should only be shown on hover in a real application.

basic example

As data browser with simple but space efficient key/ value list.

browser example 1

As data browser with image and complex layout.

browser example 2

Classes

  • vclDataList
  • vclDataListHeader
  • vclDataListBody
  • vclDataListItem
  • vclDataListFooter

Modifiers

For vclDataList

  • vclDivider: Show a vertical divider (border) between items.
  • vclItemHoverHighlight: Highlight a item when hovered.
  • vclItemSelectability: Suggest through styling that the item is selectable.
  • vclNoBorder: No top/ bottom borders.

For vclDataListItem

  • vclSelected

Variables

  • --data-list-bg-color
  • --data-list-header-bg-color
  • --data-list-footer-bg-color
  • --data-list-border-color
  • --data-list-item-separator-border-color
  • --data-list-item-hover-color
  • --data-list-item-bg-hover-color
  • --data-list-item-selected-color
  • --data-list-item-bg-selected-color

Demo

example.html on GH-pages.

Keywords

css

FAQs

Package last updated on 18 Nov 2019

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