@genexus/chameleon-controls-library
TypeScript icon, indicating that this package has built-in type declarations

6.0.0-next.3 • Public • Published

ci status Netlify Status Built With Stencil code style: prettier

chameleon web components

A library of white-label, highly-customizable and reusable web components.

Getting Started

npm install
npm start

Running the tests

To run the unit tests for the custom elements, run:

npm test

To run the spec tests for a specific custom elements, run:

npm run test.spec <component-name-without-prefix>

For example:

npm run test.spec layout-splitter

Building for production

To build the design for production, run:

npm run build

Using this library

There are three strategies we recommend for using these web components.

Script tag

  • Put a script tag similar to this <script src="https://unpkg.com/@genexus/chameleon-controls-library@4.4.7/dist/chameleon/chameleon.esm.js"></script> in the head of your index.html
  • Then you can use the web components anywhere in your template, JSX, html etc

Node Modules

  • Run npm install @genexus/chameleon-controls-library --save
  • Put a script tag similar to this <script src="node_modules/@genexus/chameleon-controls-library/dist/chameleon/chameleon.esm.js"></script> in the head of your index.html
  • Then you can use the web components anywhere in your template, JSX, html etc

In a Stencil project

  • Run npm install @genexus/chameleon-controls-library --save
  • Add an import to the library inside src/index.ts: import "@genexus/chameleon-controls-library";
  • Then you can use the web components anywhere in your template, JSX, html etc

Readme

Keywords

none

Package Sidebar

Install

npm i @genexus/chameleon-controls-library

Weekly Downloads

956

Version

6.0.0-next.3

License

MIT

Unpacked Size

110 MB

Total Files

3272

Last publish

Collaborators

  • ggallotti
  • gerasiz
  • genexusbuilder
  • anaberta
  • dscaffo