Skip to content

Commit

Permalink
v0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
thipages committed Nov 2, 2024
1 parent 136d9bd commit 6285461
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,15 @@ Or via `npm i @titsoft/dry-html` with the following exports
```javascript
import { defineCustomElements, defineCustomElement, getAttributes } from '@titsoft/dry-html'

defineCustomElements() // define custom-elements for all templates based on their id
defineCustomElement(id) // define a custom-element for one template id
defineCustomElements() // defines custom-elements for all templates based on their id
defineCustomElement(id) // defines a custom-element for one template id
getAttributes(id) // gives all placeholders/attributes for one template id

```

## Tests
See `test/index.html` to get the full technical scope
To get the technical scope, see
- `test/auto/index.html`
- `test/module/index.html`


2 changes: 1 addition & 1 deletion dry-html.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion esm-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6285461

Please sign in to comment.