Skip to content

Commit

Permalink
Merge pull request #29 from lume/improve-defineElement-method
Browse files Browse the repository at this point in the history
improve the static `LumeElement.defineElement()` method
  • Loading branch information
trusktr committed Sep 20, 2024
2 parents dbdf48e + 1349543 commit e474ad0
Show file tree
Hide file tree
Showing 13 changed files with 646 additions and 269 deletions.
804 changes: 590 additions & 214 deletions README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/LumeElement.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ declare class LumeElement extends LumeElement_base {
* different subclass of the class this is called on if passing in a custom
* `name`, otherwise returns the same class this is called on.
*/
static defineElement(name?: string, registry?: CustomElementRegistry): typeof LumeElement;
static defineElement(name?: string, registry?: CustomElementRegistry): CustomElementConstructor;
/**
* Non-decorator users can use this to specify a list of attributes, and the
* attributes will automatically be mapped to reactive properties. All
Expand Down
2 changes: 1 addition & 1 deletion dist/LumeElement.d.ts.map

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

33 changes: 12 additions & 21 deletions dist/LumeElement.js

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

Loading

0 comments on commit e474ad0

Please sign in to comment.