list-view-component
v1.0.1
Published
Use this web component to render lists
Maintainers
Readme
List View Renderer
- Library code to render static list of items from an array with title and description.
Usage:
- After importing the package.
- Run the init function in your index file.
- Start using the tags
- Pass an array to data attribute.
Example:
const listItemContainerElement = document.createElement("list-view-container");
listItemContainerElement.data = JSON.stringify(shoppingList);
container.append(listItemContainerElement);