Back to Comparison tables-guidelines

JavaScriptThe latest version of this package is: 0.18.6, Opens in new window

Comparison Table javascript

This component is compatible with ESM (ES6 module) and IIFE. See documentation examples below.

To be able to install this component, please refer to the Project Setup documentation.

$ npm i @ids-js/comparison-table@0.18.6

Table of Contents


See the CSS Documentation for this component for required markup for each feature.

  • Handles the expandable part of the comparison table.



$ npm i @ids-js/comparison-table

Required markup

See the CSS Documentation for required markup for the JavaScript library.


import { init as idsComparisonTable } from '@ids-js/comparison-table';

const _expandable_initiators = document.querySelectorAll(
  '.if.comparison-table tr.expandable > td:first-of-type'



Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

0.18.0 (2022-03-21)


  • Add comparison table support js (e80c223)
Contact us, Opens in new window