1.0.0-rc-12 • Published 13 days ago
@commonweb/components v1.0.0-rc-12
@CommonWeb/Components
@CommonWeb/Components A set of components
Summary
- It helps you create reusable and customizable web components without the need for heavy frameworks or external dependencies.
- It offers a simple and intuitive API for creating custom elements based on native web standards.
- It saves you time and effort, and helps you create more efficient and scalable web applications.
Installation
NPM
npm install --save @commonweb/core
Add the script to your HTML Add the CDN script tag to the of your HTML file, and start using CommonWeb components to build your app!.
<script src="https://unpkg.com/mi-paquete-js@latest/dist/mi-paquete-js.min.js"></script>
Components
StaticTemplate Component
Usage
After install just start using the component directly on the
<static-template context data='{"name":"World", "frameworks": [{"name":"React"},{"name":"Angular"}] }'>
<h4>Hello! {{@host.data.name}}</h4>
<ul>
<template for-each="{{@[context].data.frameworks}}">
<!--The list is under the for-each context so data refers to the item on the iteration-->
<li>{{@host.data.name}}</li>
</template>
</ul>
</static-template>
License
1.0.0-rc-12
13 days ago
1.0.0-rc-11
17 days ago
1.0.0-rc-10
23 days ago
1.0.0-rc-8
24 days ago
1.0.0-rc-9
24 days ago
1.0.0-rc-7
1 month ago
1.0.0-rc-6
1 month ago
1.0.0-rc-5
2 months ago
1.0.0-rc-4
2 months ago
1.0.0-rc-3
2 months ago
1.0.0-rc-2
2 months ago
1.0.0-beta.17
4 months ago
1.0.0-rc-1
2 months ago
1.0.0-beta.15
5 months ago
1.0.0-beta.16
5 months ago
1.0.0-beta.14
5 months ago
1.0.0-beta.11
5 months ago
1.0.0-beta.12
5 months ago
1.0.0-beta.10
5 months ago
1.0.0-beta.8
5 months ago
1.0.0-beta.9
5 months ago
1.0.0-beta.13
5 months ago
1.0.0-beta.7
6 months ago
1.0.0-beta.6
6 months ago
1.0.0-beta.5
6 months ago
1.0.0-beta.4
6 months ago
1.0.0-beta.3
6 months ago
1.0.0-beta.2
6 months ago