Back to Tag-guidelines

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

Tag 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/tag@0.18.6

Table of Contents


createTagElement โ‡’ DocumentFragment

Creates an interactive button tag element


global constant

Returns: DocumentFragment - The tag as a DocumentFragment node

Param Type Description
tag String The text for the tag
[color] String The color for the tag


Change Log

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

0.17.0 (2021-10-21)

Code Refactoring

  • ๐Ÿ’ก Remove support for CommonJS (9f84d9a)


  • ๐Ÿงจ We have removed the support for CommonJS for all @ids-js packages

0.16.1 (2021-10-21)

Bug Fixes

  • Use common for cjs and main for esm (96f673d)

0.16.0 (2021-10-19)


  • ๐ŸŽธ Add dev server for Tag (b295e47)

0.6.0 (2020-11-12)


  • ๐ŸŽธ Add common, data-tables and tag js (b65169e)

0.5.0 (2020-11-11)

Contact us, Opens in new window