Socket
Book a DemoInstallSign in
Socket

@servicensw/responsive-table

Package Overview
Dependencies
Maintainers
11
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@servicensw/responsive-table

responsive-table component

latest
Source
npmnpm
Version
1.0.8
Version published
Maintainers
11
Created
Source

@servicensw/responsive-table

Service NSW package documentation and examples
(Login credentials required)

Installation

npm install @servicensw/responsive-table --save-dev

How to use

CSS

  • PostCSS workflow: @import '@servicensw/responsive-table';
  • Sass/Eyeglass: @import 'servicensw-responsive-table';
  • Native CSS: @import url('dist/responsive-table.css');
  • Link tag: <link href="dist/responsive-table.css" rel="stylesheet" type="text/css">

JavaScript

import ResponsiveTable from "@servicensw/responsive-table"

new ResponsiveTable("table:has(tbody th):not(.table--not-responsive)")

Legacy usage;

  • IIFE: <script src="dist/responsive-table.js" type="text/javascript"></script> (initialized for all table:has(tbody th):not(.table--not-responsive) elements)
  • Common JS: const ResponsiveTable = require("@servicensw/responsive-table") (initialize yourself)

FAQs

Package last updated on 02 Apr 2025

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